[vlc-commits] vdpau/display: do not set background colour
Rémi Denis-Courmont
git at videolan.org
Sun Aug 31 10:16:53 CEST 2014
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 31 11:14:33 2014 +0300| [0949514f49d8f2eaeb3c5204fada92e7dfbca6c1] | 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.
(cherry picked from commit 345fa6c345d839ff3bec9c0f455e0eb2034f0369)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0949514f49d8f2eaeb3c5204fada92e7dfbca6c1
---
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 18a68d3..3355d7e 100644
--- a/modules/hw/vdpau/display.c
+++ b/modules/hw/vdpau/display.c
@@ -661,9 +661,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