From 16868ec528909a80766a9a737e6ce3649521d9c3 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Sat, 5 Feb 2011 15:02:34 -0800 Subject: [PATCH] Allow WEIGHTP_FAKE in interlaced mode It seems to work fine as-is even though real weightp doesn't support interlacing yet. --- encoder/encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/encoder.c b/encoder/encoder.c index 3ff5897f..782d34ff 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -774,7 +774,7 @@ static int x264_validate_parameters( x264_t *h ) } h->param.analyse.i_weighted_pred = x264_clip3( h->param.analyse.i_weighted_pred, X264_WEIGHTP_NONE, X264_WEIGHTP_SMART ); - if( !h->param.analyse.i_weighted_pred && h->param.rc.b_mb_tree && h->param.analyse.b_psy && !h->param.b_interlaced ) + if( !h->param.analyse.i_weighted_pred && h->param.rc.b_mb_tree && h->param.analyse.b_psy ) h->param.analyse.i_weighted_pred = X264_WEIGHTP_FAKE; if( h->i_thread_frames > 1 ) -- 2.47.3