mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
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.
This commit is contained in:
parent
02fa0a7992
commit
4128e375f1
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2007-05-11 Wim Taymans <wim@fluendo.com>
|
2007-05-11 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
|
||||||
|
|
|
@ -1049,13 +1049,9 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tag == GST_RIFF_TAG_JUNK || tag == GST_RIFF_TAG_bext ||
|
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_DEBUG_OBJECT (wav, "skipping %" GST_FOURCC_FORMAT " chunk",
|
||||||
GST_FOURCC_ARGS (tag));
|
GST_FOURCC_ARGS (tag));
|
||||||
if (wav->streaming) {
|
|
||||||
gst_adapter_flush (wav->adapter, size);
|
|
||||||
wav->offset += size;
|
|
||||||
}
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue