mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
nlecomposition: update base time before seeking current stack.
There could be a race where the new segments were pushed after a seek on some / all pads before the operation had had its basetime updated, and thus incoming segments were tweaked wrongly. Reproducible with 3 clips composited and multiple seeks, FIXME hard to validate.
This commit is contained in:
parent
84610050ae
commit
19ee23cdcc
1 changed files with 1 additions and 1 deletions
|
@ -1477,9 +1477,9 @@ seek_handling (NleComposition * comp, gint32 seqnum,
|
|||
_set_real_eos_seqnum_from_seek (comp, toplevel_seek);
|
||||
|
||||
_remove_update_actions (comp);
|
||||
update_operations_base_time (comp, !(comp->priv->segment->rate >= 0.0));
|
||||
_seek_current_stack (comp, toplevel_seek,
|
||||
_have_to_flush_downstream (update_stack_reason));
|
||||
update_operations_base_time (comp, !(comp->priv->segment->rate >= 0.0));
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue