mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Raise default vorbis encoding quality.
Patch by Frank Barchard, fbarchard google com Originally committed as revision 23460 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bb756b2fbc
commit
27b0d365e8
@ -955,7 +955,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext)
|
||||
if (avccontext->flags & CODEC_FLAG_QSCALE)
|
||||
venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 10.;
|
||||
else
|
||||
venc->quality = 1.;
|
||||
venc->quality = 0.03;
|
||||
venc->quality *= venc->quality;
|
||||
|
||||
avccontext->extradata_size = put_main_header(venc, (uint8_t**)&avccontext->extradata);
|
||||
|
Loading…
Reference in New Issue
Block a user