mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
composition: Set the seqnum only when receiving the actual seek event
Setting it before calling seek_handling is racy! Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
This commit is contained in:
parent
f6cb54c2ef
commit
75a809cf75
1 changed files with 1 additions and 2 deletions
|
@ -469,10 +469,9 @@ _seek_pipeline_func (SeekData * seekd)
|
|||
GST_FIXME_OBJECT (seekd->comp,
|
||||
"BE smarter and do not force pipeline update on"
|
||||
" seek (though it just does basic comparision and not full rebuild)");
|
||||
seek_handling (seekd->comp, TRUE, TRUE);
|
||||
|
||||
priv->reset_time = TRUE;
|
||||
GNL_OBJECT (seekd->comp)->wanted_seqnum = gst_event_get_seqnum (seekd->event);
|
||||
seek_handling (seekd->comp, FALSE, TRUE);
|
||||
priv->reset_time = FALSE;
|
||||
|
||||
beach:
|
||||
|
|
Loading…
Reference in a new issue