shithub: libvpx

Download patch

ref: 9ec9415fd961f792baebb7604bd385379563793a
parent: 4be18ab295b9dded9c273fc9ee28188ce3400dc0
parent: ea914456afc9dd652f26976d599c74e50d291d39
author: Marco Paniconi <marpan@google.com>
date: Fri May 26 01:24:05 EDT 2017

Merge "vp9: Use source_sad only on top temporal enhancement layer."

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3518,6 +3518,7 @@
 
   if ((cpi->use_svc &&
        (cpi->svc.spatial_layer_id < cpi->svc.number_spatial_layers - 1 ||
+        cpi->svc.temporal_layer_id != cpi->svc.number_temporal_layers - 1 ||
         cpi->svc.current_superframe < 1)) ||
       cpi->resize_pending || cpi->resize_state || cpi->external_resize ||
       cpi->resize_state != ORIG) {