[0.11] gst-plugins-good: avidemux: Update for the libgstriff API changes

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


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

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Jan  4 11:07:29 2012 +0100

avidemux: Update for the libgstriff API changes

Still needs to do reordering of channels for raw audio.

---

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

diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index 1a8b018..da0943a 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -2192,11 +2192,12 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
       break;
     }
     case GST_RIFF_FCC_auds:{
+      /* FIXME: Do something with the channel reorder map */
       padname = g_strdup_printf ("audio_%u", avi->num_a_streams);
       templ = gst_element_class_get_pad_template (klass, "audio_%u");
       caps = gst_riff_create_audio_caps (stream->strf.auds->format,
           stream->strh, stream->strf.auds, stream->extradata,
-          stream->initdata, &codec_name);
+          stream->initdata, &codec_name, NULL);
       if (!caps) {
         caps = gst_caps_new_simple ("audio/x-avi-unknown", "codec_id",
             G_TYPE_INT, stream->strf.auds->format, NULL);



More information about the gstreamer-commits mailing list