changeset 31765:59949255681d

Don't allow black windows on top of VDPAU to shine through.
author cehoyos
date Tue, 27 Jul 2010 16:49:06 +0000
parents 00884af812b8
children 1abfb1bfd2a6
files libvo/vo_vdpau.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Tue Jul 27 13:11:15 2010 +0000
+++ b/libvo/vo_vdpau.c	Tue Jul 27 16:49:06 2010 +0000
@@ -419,7 +419,8 @@
 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);