ref: aaaf9215e21d9aae155738aadeeaded3662d8b16
parent: 0ae1628f7e52ab498a9582f4f96c36acbec7198e
author: Marco Paniconi <marpan@google.com>
date: Tue Apr 17 06:32:25 EDT 2018
vp9: Remove this_key_frame_forced setting for CBR. The setting this_key_frame_forced can lead to large key frame sizes, not suitable for CBR rate control used for RTC. Change-Id: Idf6d2bf385d5b1494f4bf783f623b7c202f34e55
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1775,8 +1775,6 @@
if ((cm->current_video_frame == 0 || (cpi->frame_flags & FRAMEFLAGS_KEY) ||
rc->frames_to_key == 0 || (cpi->oxcf.auto_key && 0))) {
cm->frame_type = KEY_FRAME;
- rc->this_key_frame_forced =
- cm->current_video_frame != 0 && rc->frames_to_key == 0;
rc->frames_to_key = cpi->oxcf.key_freq;
rc->kf_boost = DEFAULT_KF_BOOST;
rc->source_alt_ref_active = 0;