slomo pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=25fa72e2955449e76e69c9da9c4db6fefe2c4555

commit 25fa72e2955449e76e69c9da9c4db6fefe2c4555
Author: Sebastian Dröge <sebast...@centricular.com>
Date:   Mon Jan 13 10:02:34 2014 +0100

    emotion gstreamer1: Set visualizations if the vis name is not NULL
    
    and not the other way around.
---
 src/modules/emotion/gstreamer1/emotion_gstreamer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c 
b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
index acc7c50..8e86220 100644
--- a/src/modules/emotion/gstreamer1/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
@@ -1382,7 +1382,7 @@ _bus_main_handler(void *data)
                      gint flags;
                      const char *vis_name;
                      
-                     if (!(vis_name = 
emotion_visualization_element_name_get(ev->vis)))
+                     if ((vis_name = 
emotion_visualization_element_name_get(ev->vis)))
                        {                       
                           vis = gst_element_factory_make(vis_name, "vis");
                           g_object_set(G_OBJECT(ev->pipeline), "vis-plugin", 
vis, NULL);

-- 


Reply via email to