summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2014-06-21 22:03:40 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2014-06-21 22:03:40 +0100
commit45a04382f3b7467f96d362e17bf332097a269235 (patch)
tree4ef71fa300db489452c75747a488f412c85d9ca4
parent523cf8610cbea0574d92022f11f78a81a66d4774 (diff)
downloadclutter-gst-45a04382f3b7467f96d362e17bf332097a269235.tar.gz
content: fix color alpha when no frame
-rw-r--r--clutter-gst/clutter-gst-content.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-content.c b/clutter-gst/clutter-gst-content.c
index 7628373..305414c 100644
--- a/clutter-gst/clutter-gst-content.c
+++ b/clutter-gst/clutter-gst-content.c
@@ -320,8 +320,11 @@ clutter_gst_content_paint_content (ClutterContent *content,
ClutterColor color;
clutter_actor_get_background_color (actor, &color);
+ color.alpha = paint_opacity;
+
node = clutter_color_node_new (&color);
clutter_paint_node_set_name (node, "IdleVideo");
+
clutter_paint_node_add_child (root, node);
clutter_paint_node_unref (node);