vo_vdpau: Support recovering from VDPAU display preemption
commit3b3dfc02ac28283345ec90ade8e0e6e64b672147
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Sun, 6 Sep 2009 23:02:24 +0000 (7 02:02 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 7 Sep 2009 00:12:02 +0000 (7 03:12 +0300)
tree29da2a9d09e7a22132c813dc4e9d631f367f6a1b
parentd1c7ac9dbf19124893ab307168d7757a75300132
vo_vdpau: Support recovering from VDPAU display preemption

Add code to reinitialize all VDPAU objects if a display preemption
condition occurs. Reinitializing them in the middle of playback will
cause video corruption at least until the next keyframe when using
hardware decoding, but decoding does seem to recover after a keyframe.
TOOLS/vdpau_functions.py
libvo/vdpau_template.c
libvo/vo_vdpau.c