From da12be49825c0eb818f828865e26d1f74fe38305 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Wed, 2 Dec 2015 17:37:11 +0100
Subject: [PATCH] gstreamer-buffer: Make the stage color fully opaque

Using an alpha value of 0 makes the stage transparent if the device
happens to have an ARGB visual on X (or always on wayland)

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: Mathieu Duponchelle <meh@collabora.co.uk>

Differential Revision: https://phabricator.apertis.org/D1154
---
 gstreamer-buffering/automated/video-player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstreamer-buffering/automated/video-player.c b/gstreamer-buffering/automated/video-player.c
index 801c64f3..d0157223 100644
--- a/gstreamer-buffering/automated/video-player.c
+++ b/gstreamer-buffering/automated/video-player.c
@@ -501,7 +501,7 @@ main (int argc, char *argv[])
   GstElement          *goomsource;
   GstIterator         *iter;
   ClutterActor        *stage;
-  ClutterColor         stage_color = { 0x00, 0x00, 0x00, 0x00 };
+  ClutterColor         stage_color = { 0x00, 0x00, 0x00, 0xff };
   ClutterColor         control_color1 = { 73, 74, 77, 0xee };
   ClutterColor         control_color2 = { 0xcc, 0xcc, 0xcc, 0xff };
   GError              *error = NULL;
-- 
GitLab