ref: 0472382dbef39c98c2e3a7f322d053545160745d
parent: 6b9c691dafc884424e05b5294b6e0e4996d533a5
parent: e15be3025b5b77efead67f5037d4c152450619be
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Aug 16 09:01:38 EDT 2017
Merge "Fix for encoder slowdown (for speeds >= 3)"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2743,7 +2743,8 @@
// Force recode for extreme overshoot.
if ((rc->projected_frame_size >= rc->max_frame_bandwidth) ||
- (rc->projected_frame_size >= big_rate_miss_high_threshold(cpi))) {
+ (cpi->sf.recode_loop >= ALLOW_RECODE_KFARFGF &&
+ rc->projected_frame_size >= big_rate_miss_high_threshold(cpi))) {
return 1;
}