mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
mxfdemux: Drop duplicate seek events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2371>
This commit is contained in:
parent
a68198c405
commit
c24d48765d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue