From bb0990813c7fb047a322c5d463cde5ae8e22c756 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Wed, 3 Feb 2010 20:27:57 -0800 Subject: [PATCH] Fix 2-pass ratecontrol continuation in case of missing statsfile Didn't work properly if MB-tree was enabled. --- encoder/ratecontrol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c index 52196e78..e314ba22 100644 --- a/encoder/ratecontrol.c +++ b/encoder/ratecontrol.c @@ -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; } -- 2.47.3