voamrwbenc: fix audio format in template caps
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 11 Jan 2012 11:39:01 +0000 (12:39 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 11 Jan 2012 11:39:01 +0000 (12:39 +0100)
ext/voamrwbenc/gstvoamrwbenc.c

index 7452fe4..0721c87 100644 (file)
@@ -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")
     );