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:
Sebastian Dröge 2015-10-21 17:11:03 +03:00
parent 4624cae7c8
commit 41982e6ccf

View file

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