diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index 16c7c0588e..8a16a0d1d3 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -131,11 +131,6 @@ struct _GnlCompositionPrivate /* List of GnlObject whose start/duration will be the same as the composition */ GList *expandables; - /* TRUE if the stack is valid. - * This is meant to prevent the top-level pad to be unblocked before the stack - * is fully done. Protected by OBJECTS_LOCK */ - gboolean stackvalid; - /* current segment seek start/stop time. Reconstruct pipeline ONLY if seeking outside of those values @@ -1107,8 +1102,6 @@ gnl_composition_reset (GnlComposition * comp) g_node_destroy (priv->current); priv->current = NULL; - priv->stackvalid = FALSE; - gnl_composition_reset_target_pad (comp); reset_children (comp); @@ -2857,8 +2850,6 @@ _activate_new_stack (GnlComposition * comp) goto resync_state; } - priv->stackvalid = TRUE; - /* The stack is entirely ready, send seek out synchronously */ topelement = GST_ELEMENT (priv->current->data); /* Get toplevel object source pad */ @@ -2998,9 +2989,6 @@ update_pipeline (GnlComposition * comp, GstClockTime currenttime, stack = get_clean_toplevel_stack (comp, ¤ttime, &new_start, &new_stop); samestack = are_same_stacks (priv->current, stack); - /* invalidate the stack while modifying it */ - priv->stackvalid = FALSE; - /* set new segment_start/stop (the current zone over which the new stack * is valid) */ if (priv->segment->rate >= 0.0) {