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:
a68198c
)
mxfdemux: Drop duplicate seek events
author
Edward Hervey
<edward@centricular.com>
Tue, 29 Jun 2021 13:29:36 +0000
(15:29 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 21 Jul 2021 14:33:19 +0000
(14:33 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2371>
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index
c883a9e
..
a9fc44e
100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-3935,6
+3935,11
@@
gst_mxf_demux_seek_pull (GstMXFDemux * demux, GstEvent * event)
&start_type, &start, &stop_type, &stop);
seqnum = gst_event_get_seqnum (event);
+ if (seqnum == demux->seqnum) {
+ GST_DEBUG_OBJECT (demux, "Already handled requested seek");
+ return TRUE;
+ }
+
if (format != GST_FORMAT_TIME)
goto wrong_format;