Allow external arf to determine gop size
When "rate_ctrl" experiment is on, we allow the external arf passed from outside to determine group of picture size in define_gf_group(). Change-Id: I0b8c3e1bf3087f21a4e484354168df4967d35bba
This commit is contained in:
@@ -851,7 +851,8 @@ int SimpleEncode::GetCodingFrameNum() const {
|
||||
FIRST_PASS_INFO first_pass_info;
|
||||
fps_init_first_pass_info(&first_pass_info, impl_ptr_->first_pass_stats.data(),
|
||||
num_frames_);
|
||||
return vp9_get_coding_frame_num(&oxcf, &frame_info, &first_pass_info,
|
||||
return vp9_get_coding_frame_num(/*encode_command=*/nullptr, &oxcf,
|
||||
&frame_info, &first_pass_info,
|
||||
multi_layer_arf, allow_alt_ref);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user