From: Jason Garrett-Glaser Date: Mon, 22 Sep 2008 05:17:34 +0000 (-0700) Subject: Fix deblocking + threads + AQ bug X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=e71168d48b9cb994bbb3895bbf25ebee2893ba4f;p=x264.git Fix deblocking + threads + AQ bug At low QPs, with threads and deblocking on, deblocking could be improperly disabled. Revision in which this bug was introduced is unknown; it may be as old as b_variable_qp in x264 itself. --- diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c index 103e73bd..4f2604d0 100644 --- a/encoder/ratecontrol.c +++ b/encoder/ratecontrol.c @@ -545,6 +545,7 @@ int x264_ratecontrol_new( x264_t *h ) { rc[i] = rc[0]; memcpy( &h->thread[i]->param, &h->param, sizeof( x264_param_t ) ); + h->thread[i]->mb.b_variable_qp = h->mb.b_variable_qp; } }