Commit a970900a authored by Ilkka Ollakka's avatar Ilkka Ollakka

set qmin=3 in ffmpeg encode when bitrate is set and user hasn't defined qmin/qmax self

parent 04c1c21d
...@@ -502,7 +502,7 @@ int E_(OpenEncoder)( vlc_object_t *p_this ) ...@@ -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 ) 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_qmax = 51;
p_sys->i_qmin = 10; p_sys->i_qmin = 3;
} }
if( p_sys->i_qmin > 0 ) if( p_sys->i_qmin > 0 )
......
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