avidemux: skip JUNK chunks in data section in streaming mode

Skip JUNK tags in streaming mode as well instead of EOSing
prematurely. Fixes #564100.
This commit is contained in:
Tim-Philipp Müller 2009-06-01 00:40:55 +01:00
parent d46e459f22
commit 4d07c78f0b

View file

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