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 12c99f0..a126b9f 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 )