forked from enlightenment/efl
emotion gstreamer1: Set visualizations if the vis name is not NULL
and not the other way around.
This commit is contained in:
parent
a39f9ca579
commit
25fa72e295
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue