Commit 27b0d365 authored by Frank Barchard's avatar Frank Barchard Committed by Carl Eugen Hoyos

Raise default vorbis encoding quality.

Patch by Frank Barchard, fbarchard google com

Originally committed as revision 23460 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bb756b2f
...@@ -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