changeset 11824:9f3522743348 libavcodec

Raise default vorbis encoding quality. Patch by Frank Barchard, fbarchard google com
author cehoyos
date Thu, 03 Jun 2010 23:53:10 +0000
parents c9ef45275db0
children c6db7667e39b
files vorbis_enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_enc.c	Thu Jun 03 21:59:25 2010 +0000
+++ b/vorbis_enc.c	Thu Jun 03 23:53:10 2010 +0000
@@ -955,7 +955,7 @@
     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);