[0.11] gst-plugins-bad: audiovisualizers: Update for the new raw audio caps

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


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

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

audiovisualizers: Update for the new raw audio caps

---

 gst/audiovisualizers/gstspacescope.c   |    4 +++-
 gst/audiovisualizers/gstspectrascope.c |    4 +++-
 gst/audiovisualizers/gstsynaescope.c   |    4 +++-
 gst/audiovisualizers/gstwavescope.c    |    4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c
index b9efaf0..a8585b0 100644
--- a/gst/audiovisualizers/gstspacescope.c
+++ b/gst/audiovisualizers/gstspacescope.c
@@ -55,7 +55,9 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
-        "rate = (int) [ 8000, 96000 ], " "channels = (int) 2")
+        "layout = (string) interleaved, "
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 2, " "channel-mask = (bitmask) 0x3")
     );
 
 
diff --git a/gst/audiovisualizers/gstspectrascope.c b/gst/audiovisualizers/gstspectrascope.c
index d79675a..abe2f7e 100644
--- a/gst/audiovisualizers/gstspectrascope.c
+++ b/gst/audiovisualizers/gstspectrascope.c
@@ -55,7 +55,9 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
-        "rate = (int) [ 8000, 96000 ], " "channels = (int) 2")
+        "layout = (string) interleaved, "
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 2, " "channel-mask = (bitmask) 0x3")
     );
 
 
diff --git a/gst/audiovisualizers/gstsynaescope.c b/gst/audiovisualizers/gstsynaescope.c
index 3754c00..c851d6f 100644
--- a/gst/audiovisualizers/gstsynaescope.c
+++ b/gst/audiovisualizers/gstsynaescope.c
@@ -54,7 +54,9 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
-        "rate = (int) [ 8000, 96000 ], " "channels = (int) 2")
+        "layout = (string) interleaved, "
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 2, " "channel-mask = (bitmask) 0x3")
     );
 
 
diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c
index cd93a26..0efe457 100644
--- a/gst/audiovisualizers/gstwavescope.c
+++ b/gst/audiovisualizers/gstwavescope.c
@@ -55,7 +55,9 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
-        "rate = (int) [ 8000, 96000 ], " "channels = (int) 2")
+        "layout = (string) interleaved, "
+        "rate = (int) [ 8000, 96000 ], "
+        "channels = (int) 2, " "channel-mask = (bitmask) 0x3")
     );
 
 



More information about the gstreamer-commits mailing list