Fixes a case where recode is not triggered based on the value
of maxq passed into the recode loop test function.
BUG=b/
32375284
Change-Id: I15ad985d0525c68e0443cfaf842440d2754b2266
cpi->resize_pending = 1;
return 1;
}
+ // Force recode if projected_frame_size > max_frame_bandwidth
+ if (rc->projected_frame_size >= rc->max_frame_bandwidth) return 1;
// TODO(agrange) high_limit could be greater than the scale-down threshold.
if ((rc->projected_frame_size > high_limit && q < maxq) ||