From: Yaowu Xu Date: Tue, 14 Dec 2010 18:12:21 +0000 (-0800) Subject: fix a bug that "optimize" flag is not set for sub-threads X-Git-Tag: v0.9.6~142^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64f3d91579278a504e5c085a3887e3f33b749627;p=libvpx fix a bug that "optimize" flag is not set for sub-threads The flag for quantization optimization was not properly propagated to mb row encoding threads. Change-Id: Ic561599c35acd94cd5698c9b314bccd596ac2deb --- diff --git a/vp8/encoder/ethreading.c b/vp8/encoder/ethreading.c index 3c768b24d..0611d5bf6 100644 --- a/vp8/encoder/ethreading.c +++ b/vp8/encoder/ethreading.c @@ -281,6 +281,7 @@ static void setup_mbby_copy(MACROBLOCK *mbdst, MACROBLOCK *mbsrc) z->vp8_short_fdct8x4 = x->vp8_short_fdct8x4; z->short_walsh4x4 = x->short_walsh4x4; z->quantize_b = x->quantize_b; + z->optimize = x->optimize; /* z->mvc = x->mvc;