summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-08-05 14:58:20 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-08-05 14:58:20 +0000
commit04bae8775a73641649a81f37dac0189382c9673c (patch)
tree830eb2b6a8d3804b3decb1d53a4f92d74dfc666f
parentf1d6cf3ac020ff0cb9ea61ef190b70e1bfc73a43 (diff)
ext/flac/gstflacenc.c: Widen caps to match decoder a bit and add more FIXMEs.
Original commit message from CVS: * ext/flac/gstflacenc.c: Widen caps to match decoder a bit and add more FIXMEs.
-rw-r--r--ChangeLog5
-rw-r--r--ext/flac/gstflacenc.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c96c2d71..4ba07a87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-08-05 Stefan Kost <ensonic@users.sf.net>
+ * ext/flac/gstflacenc.c:
+ Widen caps to match decoder a bit and add more FIXMEs.
+
+2007-08-05 Stefan Kost <ensonic@users.sf.net>
+
patch by: Mark Nauwelaerts <manauw@skynet.be>
* gst/avi/gstavimux.c:
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index c90bdec9..7a8f0cff 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -21,6 +21,9 @@
* - we assume timestamps start from 0 and that we get a perfect stream; we
* don't handle non-zero starts and mid-stream discontinuities, esp. not if
* we're muxing into ogg
+ * - need to support wider caps, flac can do 1-8 channels and 4-32 bit pcm
+ * http://flac.sourceforge.net/faq.html#general__channels
+ * it also support sampling rate from 1Hz - 655350Hz
*/
#ifdef HAVE_CONFIG_H
@@ -47,7 +50,7 @@ GST_ELEMENT_DETAILS ("FLAC audio encoder",
"signed = (boolean) TRUE, " \
"width = (int) 16, " \
"depth = (int) 16, " \
- "rate = (int) [ 8000, 48000 ], " \
+ "rate = (int) [ 8000, 96000 ], " \
"channels = (int) [ 1, 2 ]"
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",