summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2018-04-17 10:32:25 -0700
committerMarco Paniconi <marpan@google.com>2018-04-17 10:37:47 -0700
commitaaaf9215e21d9aae155738aadeeaded3662d8b16 (patch)
treeb5c92816b5193e17e005b467d166d75e74eb2bf7 /vp9/encoder
parent0ae1628f7e52ab498a9582f4f96c36acbec7198e (diff)
downloadlibvpx-aaaf9215e21d9aae155738aadeeaded3662d8b16.tar
libvpx-aaaf9215e21d9aae155738aadeeaded3662d8b16.tar.gz
libvpx-aaaf9215e21d9aae155738aadeeaded3662d8b16.tar.bz2
libvpx-aaaf9215e21d9aae155738aadeeaded3662d8b16.zip
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
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_ratectrl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c
index a115054b6..c9632e904 100644
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1775,8 +1775,6 @@ void vp9_rc_get_one_pass_cbr_params(VP9_COMP *cpi) {
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;