summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Knopp <matej.knopp@gmail.com>2015-11-04 12:52:17 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-05-01 20:47:28 +0100
commit22ab861dd1a15f0035d30d2ee4a895713b4c186a (patch)
tree4866229a83d7c05c423745e29272ab89bf1e2036
parent6da644605246391a685ce7c3955c2566db31eca5 (diff)
downloadgstreamer-plugins-good-22ab861dd1a15f0035d30d2ee4a895713b4c186a.tar.gz
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
-rw-r--r--gst/matroska/matroska-demux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index f18e1d537..106353795 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -6184,8 +6184,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);