diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index d87591cb9d109d44875db95baf93346deca867a0..313e6455cbea5c6c87dcc4cc2970ede311d4b54b 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -416,7 +416,8 @@ static void calc_iframe_target_size(VP8_COMP *cpi) // TODO: if we separate rate targeting from Q targetting, move this. // Reset the active worst quality to the baseline value for key frames. - cpi->active_worst_quality = cpi->worst_quality; + if (cpi->pass != 2) + cpi->active_worst_quality = cpi->worst_quality; #if 0 {