diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-07 02:02:24 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-07 03:12:02 +0300 |
commit | 3b3dfc02ac28283345ec90ade8e0e6e64b672147 (patch) | |
tree | 29da2a9d09e7a22132c813dc4e9d631f367f6a1b /TOOLS | |
parent | d1c7ac9dbf19124893ab307168d7757a75300132 (diff) | |
download | mpv-3b3dfc02ac28283345ec90ade8e0e6e64b672147.tar.bz2 mpv-3b3dfc02ac28283345ec90ade8e0e6e64b672147.tar.xz |
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.
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/vdpau_functions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/vdpau_functions.py b/TOOLS/vdpau_functions.py index 84e79d647b..e628cb00c3 100644 --- a/TOOLS/vdpau_functions.py +++ b/TOOLS/vdpau_functions.py @@ -20,6 +20,7 @@ output_surface_put_bits_indexed output_surface_put_bits_native output_surface_render_bitmap_surface output_surface_render_output_surface +preemption_callback_register presentation_queue_block_until_surface_idle presentation_queue_create presentation_queue_destroy |