From e71168d48b9cb994bbb3895bbf25ebee2893ba4f Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Sun, 21 Sep 2008 22:17:34 -0700 Subject: [PATCH] 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. --- encoder/ratecontrol.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.47.3