Commit 46819d56 authored by Fiona Glaser's avatar Fiona Glaser
Browse files

Fix 2-pass ratecontrol continuation in case of missing statsfile

Didn't work properly if MB-tree was enabled.
parent 50b4cfbf
......@@ -1280,6 +1280,7 @@ int x264_ratecontrol_slice_type( x264_t *h, int frame_num )
h->thread[i]->param.rc.b_stat_read = 0;
h->thread[i]->param.i_bframe_adaptive = 0;
h->thread[i]->param.i_scenecut_threshold = 0;
h->thread[i]->param.rc.b_mb_tree = 0;
if( h->thread[i]->param.i_bframe > 1 )
h->thread[i]->param.i_bframe = 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