[vlc-commits] vdpau/display: do not set background colour

Rémi Denis-Courmont git at videolan.org
Sun Aug 31 10:15:38 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 31 11:14:33 2014 +0300| [345fa6c345d839ff3bec9c0f455e0eb2034f0369] | committer: Rémi Denis-Courmont

vdpau/display: do not set background colour

This interferes with overlay-based outputs, and serves no useful
purpose for VLC since the video frames are always fully opaque.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=345fa6c345d839ff3bec9c0f455e0eb2034f0369
---

 modules/hw/vdpau/display.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/hw/vdpau/display.c b/modules/hw/vdpau/display.c
index 54e1cb8..e64fc5e 100644
--- a/modules/hw/vdpau/display.c
+++ b/modules/hw/vdpau/display.c
@@ -662,9 +662,6 @@ static int Open(vlc_object_t *obj)
         goto error;
     }
 
-    VdpColor black = { 0.f, 0.f, 0.f, 1.f };
-    vdp_presentation_queue_set_background_color(sys->vdp, sys->queue, &black);
-
     sys->cursor = XCB_cursor_Create(sys->conn, screen);
     sys->pool = NULL;
 



More information about the vlc-commits mailing list