diff options
author | Edward Hervey <edward@centricular.com> | 2021-06-29 15:29:36 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2021-07-21 14:33:19 +0000 |
commit | c24d48765dd1236795c8c00343962a13f53885a4 (patch) | |
tree | 61cb721b6f4e594df514eaf9542467141441a5e9 /gst | |
parent | a68198c405a71501ffea196cbe0d0dceb6837968 (diff) | |
download | gstreamer-plugins-bad-c24d48765dd1236795c8c00343962a13f53885a4.tar.gz |
mxfdemux: Drop duplicate seek events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2371>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mxf/mxfdemux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index c883a9e3e..a9fc44e4c 100644 --- 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; |