mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
composition: Relink nodes *after* setting the seqnum
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
This commit is contained in:
parent
25a2c2387e
commit
eeb475db5b
1 changed files with 2 additions and 3 deletions
|
@ -2696,12 +2696,11 @@ _relink_new_stack (GnlComposition * comp, GNode * stack,
|
||||||
{
|
{
|
||||||
GnlCompositionPrivate *priv = comp->priv;
|
GnlCompositionPrivate *priv = comp->priv;
|
||||||
|
|
||||||
GST_ERROR ("RElinking new stack");
|
|
||||||
_relink_single_node (comp, stack, toplevel_seek);
|
|
||||||
|
|
||||||
GST_ERROR ("Reseting seqnum to %i", gst_event_get_seqnum (toplevel_seek));
|
GST_ERROR ("Reseting seqnum to %i", gst_event_get_seqnum (toplevel_seek));
|
||||||
GNL_OBJECT (comp)->wanted_seqnum = gst_event_get_seqnum (toplevel_seek);
|
GNL_OBJECT (comp)->wanted_seqnum = gst_event_get_seqnum (toplevel_seek);
|
||||||
|
|
||||||
|
_relink_single_node (comp, stack, toplevel_seek);
|
||||||
|
|
||||||
gst_event_unref (toplevel_seek);
|
gst_event_unref (toplevel_seek);
|
||||||
|
|
||||||
gst_element_set_locked_state (priv->current_bin, FALSE);
|
gst_element_set_locked_state (priv->current_bin, FALSE);
|
||||||
|
|
Loading…
Reference in a new issue