Commit 7e288fcf authored by Fiona Glaser's avatar Fiona Glaser

Allow WEIGHTP_FAKE in interlaced mode

It seems to work fine as-is even though real weightp doesn't support interlacing yet.
parent c1212c02
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment