From 04bae8775a73641649a81f37dac0189382c9673c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 5 Aug 2007 14:58:20 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/flac/gstflacenc.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c96c2d7..4ba07a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-08-05 Stefan Kost + * ext/flac/gstflacenc.c: + Widen caps to match decoder a bit and add more FIXMEs. + +2007-08-05 Stefan Kost + patch by: Mark Nauwelaerts * gst/avi/gstavimux.c: diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index c90bdec..7a8f0cf 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", -- 2.7.4