mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
composition: Actiually set current_bin state even when not debugging
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
This commit is contained in:
parent
5df6986a81
commit
2e01715209
1 changed files with 1 additions and 4 deletions
|
@ -2523,10 +2523,7 @@ compare_relink_stack (GnlComposition * comp, GNode * stack, gboolean modify)
|
||||||
GList *deactivate = NULL;
|
GList *deactivate = NULL;
|
||||||
|
|
||||||
gst_element_set_locked_state (comp->priv->current_bin, TRUE);
|
gst_element_set_locked_state (comp->priv->current_bin, TRUE);
|
||||||
|
gst_element_set_state (comp->priv->current_bin, GST_STATE_READY);
|
||||||
GST_ERROR ("Set state return: %s",
|
|
||||||
gst_element_state_change_return_get_name
|
|
||||||
(gst_element_set_state (comp->priv->current_bin, GST_STATE_READY)));
|
|
||||||
|
|
||||||
ptarget =
|
ptarget =
|
||||||
gst_ghost_pad_get_target (GST_GHOST_PAD (GNL_OBJECT (comp)->srcpad));
|
gst_ghost_pad_get_target (GST_GHOST_PAD (GNL_OBJECT (comp)->srcpad));
|
||||||
|
|
Loading…
Reference in a new issue