Commit e9495c55 authored by Matej's avatar Matej Committed by Tim-Philipp Müller

matroskademux: fix handling of MS ACM audio

Pass riff codec-data as strf, not strd, which is where
gst_riff_create_audio_caps() expects the WAVEFORMATEXTENSIBLE
Fixes #234
parent 515ada7e
......@@ -6699,8 +6699,8 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
*riff_audio_fmt = auds.format;
/* FIXME: Handle reorder map */
caps = gst_riff_create_audio_caps (auds.format, NULL, &auds, NULL,
codec_data, codec_name, NULL);
caps = gst_riff_create_audio_caps (auds.format, NULL, &auds, codec_data,
NULL, codec_name, NULL);
if (codec_data)
gst_buffer_unref (codec_data);
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