[0.11] gst-plugins-good: wavenc: Update for the new raw audio caps

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


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

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

wavenc: Update for the new raw audio caps

---

 gst/wavenc/gstwavenc.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c
index 46ff60a..7da822c 100644
--- a/gst/wavenc/gstwavenc.c
+++ b/gst/wavenc/gstwavenc.c
@@ -75,8 +75,16 @@ struct wave_header
 #define SINK_CAPS \
     "audio/x-raw, "                      \
     "rate = (int) [ 1, MAX ], "          \
-    "channels = (int) [ 1, 2 ], "        \
+    "channels = (int) 1, "               \
+    "format = (string) { S32LE, S24LE, S16LE, U8, F32LE, F64LE } " \
+    "layout = (string) interleaved"      \
+    "; "                                 \
+    "audio/x-raw, "                      \
+    "rate = (int) [ 1, MAX ], "          \
+    "channels = (int) 2, "               \
+    "channel-mask = (bitmask) 0x3, "     \
     "format = (string) { S32LE, S24LE, S16LE, U8, F32LE, F64LE } " \
+    "layout = (string) interleaved"      \
     "; "                                 \
     "audio/x-alaw, "                     \
     "rate = (int) [ 8000, 192000 ], "    \



More information about the gstreamer-commits mailing list