From be4be30ff33ccf0cbe7ed5f275e89c87b5927c86 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Thu, 2 Oct 2008 18:11:13 -0700 Subject: [PATCH] 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. --- encoder/analyse.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0