[0.11] gst-plugins-bad: voamrwbenc: fix audio format in template caps

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Wed Jan 11 03:39:40 PST 2012


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

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Wed Jan 11 12:39:01 2012 +0100

voamrwbenc: fix audio format in template caps

---

 ext/voamrwbenc/gstvoamrwbenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c
index 7452fe4..0721c87 100644
--- a/ext/voamrwbenc/gstvoamrwbenc.c
+++ b/ext/voamrwbenc/gstvoamrwbenc.c
@@ -92,7 +92,7 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
-        "format = (string) S16LE, "
+        "format = (string) " GST_AUDIO_NE (S16) ", "
         "layout = (string) interleaved, "
         "rate = (int) 16000, " "channels = (int) 1")
     );



More information about the gstreamer-commits mailing list