Mercurial > mplayer.hg
diff libvo/vo_vdpau.c @ 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 | 550ffba86d9c |
children | 1abfb1bfd2a6 |
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);