mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
composition: Rename _flush_downstream to _have_to_seek_downstrean
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
This commit is contained in:
parent
bdb74c5161
commit
ecf353e837
1 changed files with 4 additions and 4 deletions
|
@ -257,7 +257,7 @@ static void _restart_task (GnlComposition * comp, gboolean emit_commit);
|
||||||
#define GET_TASK_LOCK(comp) (&(GNL_COMPOSITION(comp)->task_rec_lock))
|
#define GET_TASK_LOCK(comp) (&(GNL_COMPOSITION(comp)->task_rec_lock))
|
||||||
|
|
||||||
static inline gboolean
|
static inline gboolean
|
||||||
_flush_downstream (GnlUpdateStackReason update_reason)
|
_have_to_flush_downstream (GnlUpdateStackReason update_reason)
|
||||||
{
|
{
|
||||||
if (update_reason == COMP_UPDATE_STACK_ON_COMMIT ||
|
if (update_reason == COMP_UPDATE_STACK_ON_COMMIT ||
|
||||||
update_reason == COMP_UPDATE_STACK_ON_SEEK)
|
update_reason == COMP_UPDATE_STACK_ON_SEEK)
|
||||||
|
@ -1259,7 +1259,7 @@ seek_handling (GnlComposition * comp, GnlUpdateStackReason update_stack_reason)
|
||||||
_set_real_eos_seqnum_from_seek (comp, toplevel_seek);
|
_set_real_eos_seqnum_from_seek (comp, toplevel_seek);
|
||||||
|
|
||||||
_seek_current_stack (comp, toplevel_seek,
|
_seek_current_stack (comp, toplevel_seek,
|
||||||
_flush_downstream (update_stack_reason));
|
_have_to_flush_downstream (update_stack_reason));
|
||||||
update_operations_base_time (comp, !(comp->priv->segment->rate >= 0.0));
|
update_operations_base_time (comp, !(comp->priv->segment->rate >= 0.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2692,7 +2692,7 @@ update_pipeline (GnlComposition * comp, GstClockTime currenttime,
|
||||||
|
|
||||||
/* If stacks are different, unlink/relink objects */
|
/* If stacks are different, unlink/relink objects */
|
||||||
if (!samestack) {
|
if (!samestack) {
|
||||||
_deactivate_stack (comp, _flush_downstream (update_reason));
|
_deactivate_stack (comp, _have_to_flush_downstream (update_reason));
|
||||||
_relink_new_stack (comp, stack, toplevel_seek);
|
_relink_new_stack (comp, stack, toplevel_seek);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2727,7 +2727,7 @@ update_pipeline (GnlComposition * comp, GstClockTime currenttime,
|
||||||
return _activate_new_stack (comp);
|
return _activate_new_stack (comp);
|
||||||
else
|
else
|
||||||
return _seek_current_stack (comp, toplevel_seek,
|
return _seek_current_stack (comp, toplevel_seek,
|
||||||
_flush_downstream (update_reason));
|
_have_to_flush_downstream (update_reason));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue