shithub: libvpx

Download patch

ref: 3fa713caeec5b3ae7dbc78c5f921c06a11151431
parent: a9bbff1049ea774ed07286d979dbda7e7f2fe430
parent: cc91abb32559cfa20d18e7ad79483721d851f824
author: Jerome Jiang <jianj@google.com>
date: Fri Jan 26 17:45:39 EST 2018

Merge "vp9 svc: Update temporal_layering_mode in config change."

--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -155,6 +155,8 @@
   int sl, tl, layer = 0, spatial_layer_target;
   float bitrate_alloc = 1.0;
 
+  cpi->svc.temporal_layering_mode = oxcf->temporal_layering_mode;
+
   if (svc->temporal_layering_mode != VP9E_TEMPORAL_LAYERING_MODE_NOLAYERING) {
     for (sl = 0; sl < oxcf->ss_number_layers; ++sl) {
       for (tl = 0; tl < oxcf->ts_number_layers; ++tl) {