shithub: libvpx

Download patch

ref: ba1a52b9cb81b4dbeccdfbcfca6a821846c61758
parent: 0936ce931a86baeb83ca6150e5afc8909cd97c19
author: Jingning Han <jingning@google.com>
date: Mon Aug 20 08:59:15 EDT 2018

Remove unneeded frame_till_gf_update_due assignment

This will get update after define_gf_group() is called and returned.
No need to update it inside.

Change-Id: Ia42c6f7ef16bca3f1ee88392f3b90b9ebe409da8

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2951,8 +2951,6 @@
           ? i
           : (i - (is_key_frame || rc->source_alt_ref_pending));
 
-  rc->frames_till_gf_update_due = rc->baseline_gf_interval;
-
   // TODO(zoeliu): Turn on the option to disable extra ALTREFs for still GF
   //               groups.
   // Disable extra altrefs for "still" gf group: