ref: 1ce01eaaf7b10da2a8bb2f13b2ffb260d540a625
parent: 1799f2f81dc0da5359139ff4375fbe29772f0e37
author: Marco <[email protected]>
date: Mon Oct 12 12:05:27 EDT 2015
VP9-SVC: Bugfix to allow skipping lower layer(s) encoding. The setting of svc->spatial_layer_to_encode was missing in VP9E_SET_SVC_LAYER_ID. Change-Id: I015b1a64adb9ef2644d6477a02d9d9364c8462b9
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -1373,6 +1373,7 @@
SVC *const svc = &cpi->svc;
svc->first_spatial_layer_to_encode = data->spatial_layer_id;
+ svc->spatial_layer_to_encode = data->spatial_layer_id;
svc->temporal_layer_id = data->temporal_layer_id;
// Checks on valid layer_id input.
if (svc->temporal_layer_id < 0 ||