summaryrefslogtreecommitdiff
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-31 23:40:55 (GMT)
committer Tim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-31 23:42:55 (GMT)
commit4d07c78f0b5a350858a608eddc4eece540e929cf (patch) (side-by-side diff)
treed6f3b4b395e3c372f4979014b4102e3552dcc450
parentd46e459f22750d9e298286ea0815328d0ae96821 (diff)
downloadgst-plugins-good-4d07c78f0b5a350858a608eddc4eece540e929cf.zip
gst-plugins-good-4d07c78f0b5a350858a608eddc4eece540e929cf.tar.gz
avidemux: skip JUNK chunks in data section in streaming mode
Skip JUNK tags in streaming mode as well instead of EOSing prematurely. Fixes #564100.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/avi/gstavidemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index 62a8f4a..dddb8a8 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -4004,6 +4004,8 @@ gst_avi_demux_stream_data (GstAviDemux * avi)
}
}
return GST_FLOW_OK;
+ } else if (tag == GST_RIFF_TAG_JUNK) {
+ GST_DEBUG ("JUNK chunk, skipping");
} else if (tag == GST_RIFF_TAG_idx1) {
GST_DEBUG ("Found index tag, stream done");
avi->have_eos = TRUE;