summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-05-11 16:01:45 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-05-11 16:01:45 +0000
commit4128e375f1e3aa66f65a1469c1fb4f17e9d4d53d (patch)
treedda8400f8866c6d4fff4e4474c7466571c47f2ed /gst/wavparse
parent02fa0a79929d7e5e4202e6421945b739d5f47514 (diff)
gst/wavparse/gstwavparse.c: Skip LIST chunks before the fmt chunk (fixes #437499). Also fix streaming mode regression...
Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): Skip LIST chunks before the fmt chunk (fixes #437499). Also fix streaming mode regression for file from #343837 with 'bext' chunk before the 'fmt' chunk.
Diffstat (limited to 'gst/wavparse')
-rw-r--r--gst/wavparse/gstwavparse.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index bc7a48b1..68f7637f 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -1049,13 +1049,9 @@ gst_wavparse_stream_headers (GstWavParse * wav)
}
if (tag == GST_RIFF_TAG_JUNK || tag == GST_RIFF_TAG_bext ||
- tag == GST_RIFF_TAG_BEXT) {
+ tag == GST_RIFF_TAG_BEXT || tag == GST_RIFF_TAG_LIST) {
GST_DEBUG_OBJECT (wav, "skipping %" GST_FOURCC_FORMAT " chunk",
GST_FOURCC_ARGS (tag));
- if (wav->streaming) {
- gst_adapter_flush (wav->adapter, size);
- wav->offset += size;
- }
gst_buffer_unref (buf);
buf = NULL;
continue;