diff options
author | Andreas Auras <yak54@inkennet.de> | 2011-04-03 10:33:18 +0200 |
---|---|---|
committer | Andreas Auras <yak54@inkennet.de> | 2011-04-03 10:33:18 +0200 |
commit | 3af2095a8b756b747db80ca9e0a75f07b3cf5e25 (patch) | |
tree | c2009629eb449552b63d8313b60a505f76590a61 | |
parent | 4381f9746e5551f713d2e5a0f75d05b825eb965b (diff) | |
download | xine-lib-3af2095a8b756b747db80ca9e0a75f07b3cf5e25.tar.gz xine-lib-3af2095a8b756b747db80ca9e0a75f07b3cf5e25.tar.bz2 |
Fixes backed out changeset 67f59d571138 (still broken)
-rw-r--r-- | src/video_out/video_out_vdpau.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index fb56c953a..3bb2bd652 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -1744,7 +1744,7 @@ static void vdpau_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) VdpTime last_time; - if ( this->init_queue>1 ) + if ( this->init_queue >= this->queue_length ) vdp_queue_block( vdp_queue, this->output_surface[this->current_output_surface], &last_time ); uint32_t layer_count; @@ -1822,7 +1822,7 @@ static void vdpau_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) dm = this->deinterlacers_method[this->deinterlace_method_hd]; if ( (dm != DEINT_HALF_TEMPORAL) && (dm != DEINT_HALF_TEMPORAL_SPATIAL) && frame->vo_frame.future_frame ) { /* process second field */ - if ( this->init_queue>=this->queue_length ) { + if ( this->init_queue >= this->queue_length ) { #ifdef LOCKDISPLAY XUnlockDisplay(this->display); #endif |