mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
mxfdemux: If seeking to the remaining parts of the file fails on EOS, consider the stream done
Without this we would run this while loop forever, always seeking again for the same stream.
This commit is contained in:
parent
4624cae7c8
commit
41982e6ccf
1 changed files with 3 additions and 0 deletions
|
@ -3945,6 +3945,9 @@ gst_mxf_demux_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
} else {
|
||||
GST_WARNING_OBJECT (demux,
|
||||
"Seek to remaining part of the file failed");
|
||||
p->eos = TRUE;
|
||||
gst_pad_push_event (GST_PAD_CAST (p), gst_event_new_eos ());
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue