projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cb54c
)
composition: Set the seqnum only when receiving the actual seek event
author
Mathieu Duponchelle
<mathieu.duponchelle@opencreed.com>
Thu, 10 Jul 2014 13:46:19 +0000
(15:46 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:09 +0000
(11:58 +0100)
Setting it before calling seek_handling is racy!
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
gnl/gnlcomposition.c
patch
|
blob
|
history
diff --git
a/gnl/gnlcomposition.c
b/gnl/gnlcomposition.c
index
b501228
..
6e51f49
100644
(file)
--- a/
gnl/gnlcomposition.c
+++ b/
gnl/gnlcomposition.c
@@
-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: