From 09c12deddb69c61f7aa8a3dbe67eacf9392ed8e1 Mon Sep 17 00:00:00 2001 From: Christophe Thommeret Date: Fri, 20 Feb 2009 00:01:16 +0000 Subject: Set background color after pre-emption. --- src/video_out/video_out_vdpau.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index 8b4923266..1cdd61fee 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -1673,6 +1673,7 @@ static void vdpau_reinit( vo_driver_t *this_gen ) st = vdp_queue_create( vdp_device, vdp_queue_target, &vdp_queue ); if ( vdpau_reinit_error( st, "Can't create presentation queue !!" ) ) return; + vdp_queue_set_background_color( vdp_queue, &this->back_color ); VdpChromaType chroma = VDP_CHROMA_TYPE_420; -- cgit v1.2.3