From: Jason Garrett-Glaser Date: Fri, 3 Oct 2008 01:11:13 +0000 (-0700) Subject: Resolve quality regression in r996 X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=6768543b76ee5ed65d096444fda2bc282b41dd91;p=x264.git Resolve quality regression in r996 Accidentally removed the wrong line of code. I think this classifies as a "10l". Thanks to techouse for initial bug report and skystrife for helping me find it. --- diff --git a/encoder/analyse.c b/encoder/analyse.c index db4917bc..05ab9629 100644 --- a/encoder/analyse.c +++ b/encoder/analyse.c @@ -212,6 +212,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp ) h->mb.i_chroma_qp = h->chroma_qp_table[i_qp]; a->i_lambda = x264_lambda_tab[i_qp]; a->i_lambda2 = x264_lambda2_tab[i_qp]; + h->mb.i_me_method = h->param.analyse.i_me_method; h->mb.i_subpel_refine = h->param.analyse.i_subpel_refine; h->mb.b_chroma_me = h->param.analyse.b_chroma_me && h->sh.i_type == SLICE_TYPE_P && h->mb.i_subpel_refine >= 5;