avidemux: skip JUNK chunks in data section in streaming mode
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 31 May 2009 23:40:55 +0000 (00:40 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 31 May 2009 23:42:55 +0000 (00:42 +0100)
Skip JUNK tags in streaming mode as well instead of EOSing
prematurely. Fixes #564100.

gst/avi/gstavidemux.c

index 62a8f4a..dddb8a8 100644 (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;