summaryrefslogtreecommitdiffstats
path: root/gst/level
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2004-10-26 11:36:53 +0000
committerIain Holmes <iain@prettypeople.org>2004-10-26 11:36:53 +0000
commitddc68e093316a2ee3d58ef2cfbdb7e47556cc248 (patch)
tree3256780f80480ae8289baa783ccb4922746b595e /gst/level
parent1672e83d26cdf4232fb06ebb2120bfcf8b74de79 (diff)
Memory leak fixes
Original commit message from CVS: Memory leak fixes Allow level to take mono or stereo audio
Diffstat (limited to 'gst/level')
-rw-r--r--gst/level/gstlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index c00b07b4..d0cc62d5 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -48,7 +48,7 @@ GST_STATIC_PAD_TEMPLATE ("level_sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
"rate = (int) [ 1, MAX ], "
- "channels = (int) 2, "
+ "channels = (int) [ 1, 2 ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "signed = (boolean) true")
@@ -60,7 +60,7 @@ GST_STATIC_PAD_TEMPLATE ("level_src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
"rate = (int) [ 1, MAX ], "
- "channels = (int) 2, "
+ "channels = (int) [ 1, 2 ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "signed = (boolean) true")