Commit 30052ffa authored by cehoyos's avatar cehoyos

Raise default vorbis encoding quality.

Patch by Frank Barchard, fbarchard google com 


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0ba63349
...@@ -955,7 +955,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext) ...@@ -955,7 +955,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext)
if (avccontext->flags & CODEC_FLAG_QSCALE) if (avccontext->flags & CODEC_FLAG_QSCALE)
venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 10.; venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 10.;
else else
venc->quality = 1.; venc->quality = 0.03;
venc->quality *= venc->quality; venc->quality *= venc->quality;
avccontext->extradata_size = put_main_header(venc, (uint8_t**)&avccontext->extradata); avccontext->extradata_size = put_main_header(venc, (uint8_t**)&avccontext->extradata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment