[MPlayer-cvslog] r31831 - trunk/libvo/vo_vdpau.c

cehoyos subversion at mplayerhq.hu
Tue Jul 27 18:49:06 CEST 2010


Author: cehoyos
Date: Tue Jul 27 18:49:06 2010
New Revision: 31831

Log:
Don't allow black windows on top of VDPAU to shine through.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Tue Jul 27 15:11:15 2010	(r31830)
+++ trunk/libvo/vo_vdpau.c	Tue Jul 27 18:49:06 2010	(r31831)
@@ -419,7 +419,8 @@ static int win_x11_init_vdpau_procs(void
 static int win_x11_init_vdpau_flip_queue(void)
 {
     VdpStatus vdp_st;
-    VdpColor  vdp_bg = { 0, 0, 0, 0 };
+    // {0, 0, 0, 0} makes every black window on top shine through
+    VdpColor vdp_bg = {0.01, 0.01, 0.01, 0};
 
     vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window,
                                                       &vdp_flip_target);


More information about the MPlayer-cvslog mailing list