ref: 247c5a117a0851af4fcb505960d4efea113fc192
parent: a81a3415576be3ab171cadd58bebb06dabbbaafa
parent: 7a3c9b578d88c857207d5bc76b139ea6db5cc4be
author: Jingning Han <jingning@google.com>
date: Tue Aug 21 20:08:47 EDT 2018
Merge "Control reference frame refresh flags for USE_BUF_FRAME"
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1446,6 +1446,12 @@
cpi->refresh_alt_ref_frame = 0;
cpi->rc.is_src_frame_alt_ref = 1;
break;
+ case USE_BUF_FRAME:
+ cpi->refresh_last_frame = 0;
+ cpi->refresh_golden_frame = 0;
+ cpi->refresh_alt_ref_frame = 0;
+ cpi->rc.is_src_frame_alt_ref = 1;
+ break;
default:
assert(twopass->gf_group.update_type[gf_group_index] == ARF_UPDATE);
cpi->refresh_last_frame = 0;