diff options
-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 2040e72f2..5966abd0a 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -625,9 +625,9 @@ static void vdpau_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) printf( "vo_vdpau: vdp_video_mixer_render error : %s\n", vdp_get_error_string( st ) ); XLockDisplay( this->display ); - /*if ( this->overlay_output_width ) + if ( this->overlay_output_width ) vdp_queue_display( vdp_queue, this->overlay_output, 0, 0, 0 ); - else*/ + else vdp_queue_display( vdp_queue, this->output_surface[this->current_output_surface], 0, 0, 0 ); //if ( layer_count ) //printf( "vo_vdpau: overlay count=%d, surface=%d\n", layer_count, layer[0].source_surface ); |