]> git.sesse.net Git - vlc/commitdiff
set qmin=3 in ffmpeg encode when bitrate is set and user hasn't defined qmin/qmax...
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 29 Jan 2008 21:45:49 +0000 (21:45 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 29 Jan 2008 21:45:49 +0000 (21:45 +0000)
modules/codec/ffmpeg/encoder.c

index 12c99f0856e853905782bfb70b2898a62cd3820e..a126b9f32766318dcf818534a54452a41f1d96f7 100644 (file)
@@ -502,7 +502,7 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
         if( p_enc->fmt_out.i_bitrate > 0 && p_sys->i_qmax == 0 && p_sys->i_qmin == 0 )
         {
             p_sys->i_qmax = 51;
-            p_sys->i_qmin = 10;
+            p_sys->i_qmin = 3;
         }
 
         if( p_sys->i_qmin > 0 )