mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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 */
|
/* List of GnlObject whose start/duration will be the same as the composition */
|
||||||
GList *expandables;
|
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.
|
current segment seek start/stop time.
|
||||||
Reconstruct pipeline ONLY if seeking outside of those values
|
Reconstruct pipeline ONLY if seeking outside of those values
|
||||||
|
@ -1107,8 +1102,6 @@ gnl_composition_reset (GnlComposition * comp)
|
||||||
g_node_destroy (priv->current);
|
g_node_destroy (priv->current);
|
||||||
priv->current = NULL;
|
priv->current = NULL;
|
||||||
|
|
||||||
priv->stackvalid = FALSE;
|
|
||||||
|
|
||||||
gnl_composition_reset_target_pad (comp);
|
gnl_composition_reset_target_pad (comp);
|
||||||
|
|
||||||
reset_children (comp);
|
reset_children (comp);
|
||||||
|
@ -2857,8 +2850,6 @@ _activate_new_stack (GnlComposition * comp)
|
||||||
goto resync_state;
|
goto resync_state;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->stackvalid = TRUE;
|
|
||||||
|
|
||||||
/* The stack is entirely ready, send seek out synchronously */
|
/* The stack is entirely ready, send seek out synchronously */
|
||||||
topelement = GST_ELEMENT (priv->current->data);
|
topelement = GST_ELEMENT (priv->current->data);
|
||||||
/* Get toplevel object source pad */
|
/* 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);
|
stack = get_clean_toplevel_stack (comp, ¤ttime, &new_start, &new_stop);
|
||||||
samestack = are_same_stacks (priv->current, stack);
|
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
|
/* set new segment_start/stop (the current zone over which the new stack
|
||||||
* is valid) */
|
* is valid) */
|
||||||
if (priv->segment->rate >= 0.0) {
|
if (priv->segment->rate >= 0.0) {
|
||||||
|
|
Loading…
Reference in a new issue