mxfdemux: Drop duplicate seek events

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2371>
This commit is contained in:
Edward Hervey 2021-06-29 15:29:36 +02:00 committed by Edward Hervey
parent a68198c405
commit c24d48765d

View file

@ -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;