summaryrefslogtreecommitdiff
path: root/ext/wavpack/gstwavpackenc.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-02-27 23:46:08 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-02-27 23:46:08 +0100
commit0723928e8bcd49ceaa41145756922f00991c7c88 (patch)
treecefdc2bf973dc0b23063b28e36fd91dadcf90afc /ext/wavpack/gstwavpackenc.c
parent004377b0b526182c2c24f374d88c038d9b99800d (diff)
downloadgstreamer-plugins-good-0723928e8bcd49ceaa41145756922f00991c7c88.tar.gz
wavpackdec: determine depth from bytes per sample
... rather than from bits per sample, since spec states values are already left justified w.r.t. bits per sample but not w.r.t. bytes per sample (and so the latter determines the normalization, or indicated depth).
Diffstat (limited to 'ext/wavpack/gstwavpackenc.c')
-rw-r--r--ext/wavpack/gstwavpackenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wavpack/gstwavpackenc.c b/ext/wavpack/gstwavpackenc.c
index e2e19d4d3..8595798f4 100644
--- a/ext/wavpack/gstwavpackenc.c
+++ b/ext/wavpack/gstwavpackenc.c
@@ -103,7 +103,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-wavpack, "
"width = (int) [ 1, 32 ], "
- "channels = (int) [ 1, 2 ], "
+ "channels = (int) [ 1, 8 ], "
"rate = (int) [ 6000, 192000 ], " "framed = (boolean) TRUE")
);