ref: 47b6d3c41827f40a5f726c97ce5bc103f5ad0ed9
parent: b5cd400e7640273d026cc7c33d4a76c4bef38074
author: Jingning Han <[email protected]>
date: Mon Nov 5 10:42:20 EST 2018
Fix gf_group->frame_end assignment The previous value was set off by 1. Use the correct value. Change-Id: I1ce53cc99063ce31e7ab1c43c6e444cb9a1972db
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2188,7 +2188,7 @@
key_frame = cpi->common.frame_type == KEY_FRAME;
gf_group->frame_start = cpi->common.current_video_frame;
- gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval - 1;
+ gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval;
// For key frames the frame target rate is already set and it
// is also the golden frame.