Commit 07a0494b authored by Laurent Aimar's avatar Laurent Aimar

ratecontrol: patch by Loren Merritt <lorenm AT u DOT washington DOT edu>

 "The new cbr mode fails to completely disable itself when encoding in
 constant QP mode. The per-block QPs are then randomized between QP+4 and
 QP-2 based on uninitialized ratecontrol parameters."
 


git-svn-id: svn://svn.videolan.org/x264/trunk@22 df754926-b1dd-0310-bc7b-ec298dee348c
parent 249259d0
......@@ -243,6 +243,9 @@ void x264_ratecontrol_mb( x264_t *h, int bits )
int dqp;
int i;
if( !h->param.b_cbr )
return;
x264_cpu_restore( h->param.cpu );
rc->qps += rc->qpm;
......
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