diff options
author | Kaj-Michael Lang <milang@tal.org> | 2009-12-29 17:28:06 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-01-04 10:23:16 +0100 |
commit | f116cb0c1941709b8c97ceed2bfbcdf8f79aaa4b (patch) | |
tree | 960e8dd7f244b7457acd42ca29f99b206751a86c /ext/modplug | |
parent | 212cf43774565e989ed16350cc83698847e48fcc (diff) | |
download | gstreamer-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.cc | 4 |
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," |