[vlc-commits] xcb/render: fix black color

Rémi Denis-Courmont git at videolan.org
Thu Dec 20 19:43:16 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Dec 20 20:24:00 2018 +0200| [9763000cf2b3bc2e927a70af8d35e6f394db980f] | committer: Rémi Denis-Courmont

xcb/render: fix black color

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

 modules/video_output/xcb/render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/xcb/render.c b/modules/video_output/xcb/render.c
index 09bc84c8e4..a1e969acc5 100644
--- a/modules/video_output/xcb/render.c
+++ b/modules/video_output/xcb/render.c
@@ -133,7 +133,7 @@ static void Prepare(vout_display_t *vd, picture_t *pic, subpicture_t *subpic,
                          0, 0, fmt->i_visible_width, fmt->i_visible_height);
 
     /* Blank background */
-    static const xcb_render_color_t black_color = { 0, 0, 0, 0 };
+    static const xcb_render_color_t black_color = { 0, 0, 0, 0xffff };
     xcb_rectangle_t rects[] = {
         { 0, 0, vd->cfg->display.width, vd->cfg->display.height },
     };



More information about the vlc-commits mailing list