Commit 6f6396b6 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Set rc_qsquish=1 in AVContext when b_strict is used. This uses a nice...

Set rc_qsquish=1 in AVContext when b_strict is used. This uses a nice continous function to limit qscale within qmin/qmax.
parent 571c3e12
......@@ -473,6 +473,7 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
if ( p_sys->b_strict_rc )
{
p_context->rc_qsquish = 1.0;
p_context->rc_max_rate = p_enc->fmt_out.i_bitrate;
p_context->rc_min_rate = p_enc->fmt_out.i_bitrate;
p_context->rc_buffer_size = p_sys->i_rc_buffer_size;
......
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