shithub: libvpx

Download patch

ref: 362ca74ef4ea88b2c78e08eff7fab5c954c38458
parent: 1e2cfa3f0f75c971ccceb9be0e818b207c86303b
parent: 2b8e2731052adb84c32727f04e23a2c654abe04c
author: Paul Wilkins <[email protected]>
date: Wed May 8 06:55:25 EDT 2019

Merge "Avoid two GF only groups just before a kf"

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2525,6 +2525,8 @@
         (active_max_gf_interval >= (rc->frames_to_key - rc->min_gf_interval)))
       active_max_gf_interval = rc->frames_to_key / 2;
   }
+  active_max_gf_interval =
+      VPXMAX(active_max_gf_interval, active_min_gf_interval);
 
   if (cpi->multi_layer_arf) {
     int layers = 0;