Commit 04bae877 authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent f1d6cf3a
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> 2007-08-05 Stefan Kost <ensonic@users.sf.net>
patch by: Mark Nauwelaerts <manauw@skynet.be> patch by: Mark Nauwelaerts <manauw@skynet.be>
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
* - we assume timestamps start from 0 and that we get a perfect stream; we * - 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 * don't handle non-zero starts and mid-stream discontinuities, esp. not if
* we're muxing into ogg * 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 #ifdef HAVE_CONFIG_H
...@@ -47,7 +50,7 @@ GST_ELEMENT_DETAILS ("FLAC audio encoder", ...@@ -47,7 +50,7 @@ GST_ELEMENT_DETAILS ("FLAC audio encoder",
"signed = (boolean) TRUE, " \ "signed = (boolean) TRUE, " \
"width = (int) 16, " \ "width = (int) 16, " \
"depth = (int) 16, " \ "depth = (int) 16, " \
"rate = (int) [ 8000, 48000 ], " \ "rate = (int) [ 8000, 96000 ], " \
"channels = (int) [ 1, 2 ]" "channels = (int) [ 1, 2 ]"
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment