aacparse: Also add stream-format to template caps
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 11 Jan 2010 16:20:26 +0000 (13:20 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:04 +0000 (18:07 +0100)
Do not forget to add stream-format to template caps
off aacparse

gst/audioparsers/gstaacparse.c

index ae30200..0debf38 100644 (file)
@@ -58,7 +58,8 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/mpeg, "
-        "framed = (boolean) true, " "mpegversion = (int) { 2, 4 };"));
+        "framed = (boolean) true, " "mpegversion = (int) { 2, 4 }, "
+        "stream-format = (string) { raw, adts, adif };"));
 
 static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,