shithub: libvpx

Download patch

ref: 343acaa8f2233acfe427a8e3557efa7bae092d77
parent: 0ca5908ff6a403ab4a792fac4bd165fb642fc90c
parent: d6b688375fe10d8fa1b0f6d565013e78f223aad8
author: Marco <marpan@google.com>
date: Mon Nov 3 09:38:05 EST 2014

Merge "Allow disable of refresh golden for more than 1 layer encoding."

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2983,7 +2983,9 @@
   if (gold_is_last)
     flags &= ~VP9_GOLD_FLAG;
 
-  if (cpi->rc.frames_till_gf_update_due == INT_MAX && !is_two_pass_svc(cpi))
+  if (cpi->rc.frames_till_gf_update_due == INT_MAX &&
+      (cpi->svc.number_temporal_layers == 1 &&
+       cpi->svc.number_spatial_layers == 1))
     flags &= ~VP9_GOLD_FLAG;
 
   if (alt_is_last)