From e9495c55f40a36cc0b6d70c7430845b4c21975a4 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Wed, 4 Nov 2015 12:52:17 +0100 Subject: [PATCH] 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 --- gst/matroska/matroska-demux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index fd6b3a357f..f75b98b366 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -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);