Commit eb7e071a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gst/wavparse/gstwavparse.c: ... and fix multichannel/WAVFORMATEX support again.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
... and fix multichannel/WAVFORMATEX support again.
parent 16b28a8e
2006-04-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
... and fix multichannel/WAVFORMATEX support again.
2006-04-29 Stefan Kost <ensonic@users.sf.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
......
common @ 6b67aa6d
Subproject commit a6710e67fd82147e32a18f1b63177583faffd498
Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091
......@@ -1022,9 +1022,6 @@ gst_wavparse_stream_headers (GstWavParse * wav)
if (!(gst_riff_parse_strf_auds (GST_ELEMENT (wav), buf, &header, &extra)))
goto parse_header_error;
if (extra)
gst_buffer_unref (extra);
if (wav->streaming) {
gst_adapter_flush (wav->adapter, size);
wav->offset += size;
......@@ -1035,9 +1032,12 @@ gst_wavparse_stream_headers (GstWavParse * wav)
/* Note: gst_riff_create_audio_caps might nedd to fix values in
* the header header depending on the format, so call it first */
caps =
gst_riff_create_audio_caps (header->format, NULL, header, NULL,
gst_riff_create_audio_caps (header->format, NULL, header, extra,
NULL, &codec_name);
if (extra)
gst_buffer_unref (extra);
wav->format = header->format;
wav->rate = header->rate;
wav->channels = header->channels;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment