[vlc-devel] commit: Vorbis quality is limited to 0-10 (Christophe Mutricy )

git version control git at videolan.org
Sun Feb 1 00:00:04 CET 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Jan 31 22:55:35 2009 +0000| [4417073e0b6065f22580ec209887765b3760a1ea] | committer: Christophe Mutricy 

Vorbis quality is limited to 0-10

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4417073e0b6065f22580ec209887765b3760a1ea
---

 modules/codec/vorbis.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/vorbis.c b/modules/codec/vorbis.c
index 9f4125a..33e8a7d 100644
--- a/modules/codec/vorbis.c
+++ b/modules/codec/vorbis.c
@@ -204,6 +204,7 @@ vlc_module_begin ()
 
     add_integer( ENC_CFG_PREFIX "quality", 0, NULL, ENC_QUALITY_TEXT,
                  ENC_QUALITY_LONGTEXT, false )
+        change_integer_range( 0, 10 )
     add_integer( ENC_CFG_PREFIX "max-bitrate", 0, NULL, ENC_MAXBR_TEXT,
                  ENC_MAXBR_LONGTEXT, false )
     add_integer( ENC_CFG_PREFIX "min-bitrate", 0, NULL, ENC_MINBR_TEXT,




More information about the vlc-devel mailing list