summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2008-12-14 20:39:57 +0000
committerChristophe Thommeret <hftom@free.fr>2008-12-14 20:39:57 +0000
commit28ed70dae3b5736d904d704e76b64e039a459f81 (patch)
tree446de2ef9e14d68dda8ae046fdd89ca51d8e892a /src
parent87523c94378d136ad0da9e45102bdec3364cb1d4 (diff)
downloadxine-lib-28ed70dae3b5736d904d704e76b64e039a459f81.tar.gz
xine-lib-28ed70dae3b5736d904d704e76b64e039a459f81.tar.bz2
Overlay fixup.
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_vdpau.c4
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 );