summaryrefslogtreecommitdiff
path: root/ext/modplug
diff options
context:
space:
mode:
authorKaj-Michael Lang <milang@tal.org>2009-12-29 17:28:06 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-04 10:23:16 +0100
commitf116cb0c1941709b8c97ceed2bfbcdf8f79aaa4b (patch)
tree960e8dd7f244b7457acd42ca29f99b206751a86c /ext/modplug
parent212cf43774565e989ed16350cc83698847e48fcc (diff)
downloadgstreamer-plugins-bad-f116cb0c1941709b8c97ceed2bfbcdf8f79aaa4b.tar.gz
modplug: Allow 1-2 channels for 16 and 32 bit depths, not only for 8 bits.
Fixes bug #605721.
Diffstat (limited to 'ext/modplug')
-rw-r--r--ext/modplug/gstmodplug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc
index 9dfe7fc7e..3073c7085 100644
--- a/ext/modplug/gstmodplug.cc
+++ b/ext/modplug/gstmodplug.cc
@@ -95,14 +95,14 @@ static GstStaticPadTemplate modplug_src_template_factory =
" width = (int) 32,"
" depth = (int) 32,"
" rate = (int) { 8000, 11025, 22050, 44100 },"
- " channels = (int) 2; "
+ " channels = (int) [ 1, 2 ]; "
"audio/x-raw-int,"
" endianness = (int) BYTE_ORDER,"
" signed = (boolean) true,"
" width = (int) 16,"
" depth = (int) 16,"
" rate = (int) { 8000, 11025, 22050, 44100 },"
- " channels = (int) 2; "
+ " channels = (int) [ 1, 2 ]; "
"audio/x-raw-int,"
" endianness = (int) BYTE_ORDER,"
" signed = (boolean) false,"