projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4624cae
)
mxfdemux: If seeking to the remaining parts of the file fails on EOS, consider the...
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 21 Oct 2015 14:11:03 +0000
(17:11 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 21 Oct 2015 16:54:15 +0000
(19:54 +0300)
Without this we would run this while loop forever, always seeking again for
the same stream.
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index
e45e49c
..
5ab4d16
100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-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;
}
}