From e3f1b21660e3cc53d14253c44d7fd04051ea1435 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Jan 2012 15:12:26 +0100 Subject: [PATCH] asfdemux: Update for libgstriff API changes Still needs to handle audio channel reordering. --- gst/asfdemux/gstasfdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 8e1103e..f70522a 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -2196,8 +2196,9 @@ gst_asf_demux_add_audio_stream (GstASFDemux * demux, /* asf_stream_audio is the same as gst_riff_strf_auds, but with an * additional two bytes indicating extradata. */ + /* FIXME: Handle the channel reorder map here */ caps = gst_riff_create_audio_caps (audio->codec_tag, NULL, - (gst_riff_strf_auds *) audio, extradata, NULL, &codec_name); + (gst_riff_strf_auds *) audio, extradata, NULL, &codec_name, NULL); if (caps == NULL) { caps = gst_caps_new_simple ("audio/x-asf-unknown", "codec_id", -- 2.7.4