Limit max spatial layers to be configured through field trial (3->2) to match current limit in VP9EncoderImpl::InitEncode.
BUG=chromium:595695 Review URL: https://codereview.webrtc.org/1841373003 Cr-Commit-Position: refs/heads/master@{#12175}
This commit is contained in:
parent
118ef00594
commit
af9e4ac4bc
@ -325,7 +325,7 @@ bool GetVp9LayersFromFieldTrialGroup(int* num_spatial_layers,
|
||||
num_temporal_layers) != 2) {
|
||||
return false;
|
||||
}
|
||||
const int kMaxSpatialLayers = 3;
|
||||
const int kMaxSpatialLayers = 2;
|
||||
if (*num_spatial_layers > kMaxSpatialLayers || *num_spatial_layers < 1)
|
||||
return false;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user