shithub: libvpx

Download patch

ref: df159d67b2b2c3d81d5cbaf2067d7c5169456a0e
parent: 9f1b4bb10dc16a4acc87e4d3f07cf74e9fde23ef
parent: 47b6d3c41827f40a5f726c97ce5bc103f5ad0ed9
author: Jingning Han <[email protected]>
date: Tue Nov 6 12:10:18 EST 2018

Merge "Fix gf_group->frame_end assignment"

--- 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.