[0.11] gst-plugins-good: goom: Port to the new multichannel caps and 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: 720a49b86c0c4fe7d6d7ad0d0e9d0c5e55f70afa
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=720a49b86c0c4fe7d6d7ad0d0e9d0c5e55f70afa

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

goom: Port to the new multichannel caps and update for the new raw audio layout field

---

 gst/goom/gstgoom.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c
index 8652835..7da041c 100644
--- a/gst/goom/gstgoom.c
+++ b/gst/goom/gstgoom.c
@@ -85,7 +85,14 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,             /* ALWAYS/SOMETIMES */
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
-        "rate = (int) [ 8000, 96000 ], " "channels = (int) { 1, 2 }")
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 1, "
+        "layout = (string) interleaved; "
+        "audio/x-raw, "
+        "format = (string) " GST_AUDIO_NE (S16) ", "
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 2, "
+        "channel-mask = (bitmask) 0x3, " "layout = (string) interleaved")
     );
 
 



More information about the gstreamer-commits mailing list