1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Oded Shimon 2006-10-02 06:09:06 +00:00
parent 39d0567737
commit 6fde6305b1

View File

@ -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;