mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
composition: Remove now useless flag "stackvalid".
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
This commit is contained in:
parent
f826851f3b
commit
3e3ac438a4
1 changed files with 0 additions and 12 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue