[0.11] gst-plugins-good: spectrum: Update for the new raw audio caps 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: b35bacb460629e5a0b5bf8109bda1e5b8bbfbf30
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=b35bacb460629e5a0b5bf8109bda1e5b8bbfbf30

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

spectrum: Update for the new raw audio caps layout field

---

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

diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c
index e9bd8a5..aa281e7 100644
--- a/gst/spectrum/gstspectrum.c
+++ b/gst/spectrum/gstspectrum.c
@@ -117,7 +117,8 @@ GST_DEBUG_CATEGORY_STATIC (gst_spectrum_debug);
 #endif
 
 #define ALLOWED_CAPS \
-  GST_AUDIO_CAPS_MAKE (FORMATS)
+  GST_AUDIO_CAPS_MAKE (FORMATS) ", " \
+  "layout = (string) interleaved"
 
 /* Spectrum properties */
 #define DEFAULT_POST_MESSAGES	        TRUE



More information about the gstreamer-commits mailing list