[0.11] gst-plugins-ugly: asfdemux: Update for libgstriff API changes

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Jan 5 01:37:14 PST 2012


Module: gst-plugins-ugly
Branch: 0.11
Commit: e3f1b21660e3cc53d14253c44d7fd04051ea1435
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=e3f1b21660e3cc53d14253c44d7fd04051ea1435

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Jan  4 15:12:26 2012 +0100

asfdemux: Update for libgstriff API changes

Still needs to handle audio channel reordering.

---

 gst/asfdemux/gstasfdemux.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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",



More information about the gstreamer-commits mailing list