diff options
author | Matej Knopp <matej.knopp@gmail.com> | 2015-11-04 12:52:17 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-01 20:47:28 +0100 |
commit | 22ab861dd1a15f0035d30d2ee4a895713b4c186a (patch) | |
tree | 4866229a83d7c05c423745e29272ab89bf1e2036 | |
parent | 6da644605246391a685ce7c3955c2566db31eca5 (diff) | |
download | gstreamer-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.c | 4 |
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); |