[clutter-gst] content: fix color alpha when no frame
- From: Lionel Landwerlin <llandwerlin src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [clutter-gst] content: fix color alpha when no frame
 
- Date: Sat, 21 Jun 2014 21:04:47 +0000 (UTC)
 
commit 45a04382f3b7467f96d362e17bf332097a269235
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sat Jun 21 22:03:40 2014 +0100
    content: fix color alpha when no frame
 clutter-gst/clutter-gst-content.c |    3 +++
 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);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]