ref: a5f49183da7720f78176e7aacd66ddfa30fd4337
parent: b0959b8195fdca51afa51fb51cf06558fa9889a8
parent: 0299a603345be4922329387074274f08444e3731
author: Tim Kopp <[email protected]>
date: Fri Jun 27 11:42:14 EDT 2014
Merge "fix: Only do spatial SVC when there are > 1 layers"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2462,7 +2462,8 @@
MV_REFERENCE_FRAME ref_frame;
int arf_src_index;
const int is_spatial_svc = cpi->use_svc &&
- (cpi->svc.number_temporal_layers == 1);
+ (cpi->svc.number_temporal_layers == 1) &&
+ (cpi->svc.number_spatial_layers > 1);
if (!cpi)
return -1;