diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 06:09:06 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 06:09:06 +0000 |
commit | 6fde6305b12e3150e2c3d975f04318934a53e250 (patch) | |
tree | 4fdc64de0b282214cca64828477993b16624e921 /libavcodec | |
parent | 39d0567737cbce35239dddeabe35ae037cecf362 (diff) | |
download | ffmpeg-6fde6305b12e3150e2c3d975f04318934a53e250.tar.gz |
Original Commit: r95 | ods15 | 2006-09-30 22:11:08 +0300 (Sat, 30 Sep 2006) | 3 lines
scale user settable quality for more fine-grainablity
now sane values for -aq is 10-30
Originally committed as revision 6499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vorbis_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index d856da67f9..6093bc1927 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -1059,7 +1059,7 @@ static int vorbis_encode_init(AVCodecContext * avccontext) create_vorbis_context(venc, avccontext); - if (avccontext->flags & CODEC_FLAG_QSCALE) venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA; + if (avccontext->flags & CODEC_FLAG_QSCALE) venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 100.; else venc->quality = 0.17; //if(avccontext->cutoff > 0) cfreq = avccontext->cutoff / 1000.0; |