From eeb475db5bf692887c7b3a91c59c78ab24efe1f5 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 8 Jul 2014 22:58:02 +0200 Subject: [PATCH] composition: Relink nodes *after* setting the seqnum Co-Authored by: Mathieu Duponchelle --- gnl/gnlcomposition.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index c6822293c6..0336847e25 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -2696,12 +2696,11 @@ _relink_new_stack (GnlComposition * comp, GNode * stack, { 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)); GNL_OBJECT (comp)->wanted_seqnum = gst_event_get_seqnum (toplevel_seek); + _relink_single_node (comp, stack, toplevel_seek); + gst_event_unref (toplevel_seek); gst_element_set_locked_state (priv->current_bin, FALSE);