composition: Actiually set current_bin state even when not debugging
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Fri, 4 Jul 2014 09:11:53 +0000 (11:11 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:08 +0000 (11:58 +0100)
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

gnl/gnlcomposition.c

index fa813bb..7e80dfc 100644 (file)
@@ -2523,10 +2523,7 @@ compare_relink_stack (GnlComposition * comp, GNode * stack, gboolean modify)
   GList *deactivate = NULL;
 
   gst_element_set_locked_state (comp->priv->current_bin, TRUE);
-
-  GST_ERROR ("Set state return: %s",
-      gst_element_state_change_return_get_name
-      (gst_element_set_state (comp->priv->current_bin, GST_STATE_READY)));
+  gst_element_set_state (comp->priv->current_bin, GST_STATE_READY);
 
   ptarget =
       gst_ghost_pad_get_target (GST_GHOST_PAD (GNL_OBJECT (comp)->srcpad));