Commit a5f49183 authored by Tim Kopp's avatar Tim Kopp Committed by Gerrit Code Review

Merge "fix: Only do spatial SVC when there are > 1 layers"

parents b0959b81 0299a603
......@@ -2462,7 +2462,8 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment