[0.11] gst-plugins-good: cutter: Update for the new raw audio layout field

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


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

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

cutter: Update for the new raw audio layout field

---

 gst/cutter/gstcutter.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index c1d7c47..2942ff5 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -70,16 +70,18 @@ static GstStaticPadTemplate cutter_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) { " GST_AUDIO_NE (S8) "," GST_AUDIO_NE (S16) " }, "
-        "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ]")
+        "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], "
+        "layout = (string) interleaved")
     );
 
 static GstStaticPadTemplate cutter_sink_factory =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("audio/x-raw-int, "
+    GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) { " GST_AUDIO_NE (S8) "," GST_AUDIO_NE (S16) " }, "
-        "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ]")
+        "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], "
+        "layout = (string) interleaved")
     );
 
 enum



More information about the gstreamer-commits mailing list