Set a sensible total bitrate when testing multilayer encoding
The previous encoder parameters triggered warning logging in the encoder.
This commit is contained in:
parent
eb889c95e0
commit
19ea4244f5
@ -47,6 +47,7 @@ static int InitWithParam(ISVCEncoder* encoder, EUsageType usageType,int width,
|
||||
param.uiMaxNalSize = 1500;
|
||||
}
|
||||
}
|
||||
param.iTargetBitrate *= param.iSpatialLayerNum;
|
||||
|
||||
return encoder->InitializeExt(¶m);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user