mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 17:25:05 +00:00
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 data. https://bugzilla.gnome.org/show_bug.cgi?id=757583 Fixes #234
This commit is contained in:
parent
515ada7e22
commit
e9495c55f4
|
@ -6699,8 +6699,8 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
|
||||||
*riff_audio_fmt = auds.format;
|
*riff_audio_fmt = auds.format;
|
||||||
|
|
||||||
/* FIXME: Handle reorder map */
|
/* FIXME: Handle reorder map */
|
||||||
caps = gst_riff_create_audio_caps (auds.format, NULL, &auds, NULL,
|
caps = gst_riff_create_audio_caps (auds.format, NULL, &auds, codec_data,
|
||||||
codec_data, codec_name, NULL);
|
NULL, codec_name, NULL);
|
||||||
if (codec_data)
|
if (codec_data)
|
||||||
gst_buffer_unref (codec_data);
|
gst_buffer_unref (codec_data);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue