From 28ed70dae3b5736d904d704e76b64e039a459f81 Mon Sep 17 00:00:00 2001 From: Christophe Thommeret Date: Sun, 14 Dec 2008 20:39:57 +0000 Subject: Overlay fixup. --- src/video_out/video_out_vdpau.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ); -- cgit v1.2.3