Fixes an issue where the start bitrate is stored in kbps instead of bps.
BUG=1638 TEST=trybots and vie_auto_test loopback with nack. Review URL: https://webrtc-codereview.appspot.com/1312004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3831 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -47,7 +47,7 @@ VCMGenericEncoder::InitEncode(const VideoCodec* settings,
|
|||||||
int32_t numberOfCores,
|
int32_t numberOfCores,
|
||||||
uint32_t maxPayloadSize)
|
uint32_t maxPayloadSize)
|
||||||
{
|
{
|
||||||
_bitRate = settings->startBitrate;
|
_bitRate = settings->startBitrate * 1000;
|
||||||
_frameRate = settings->maxFramerate;
|
_frameRate = settings->maxFramerate;
|
||||||
_codecType = settings->codecType;
|
_codecType = settings->codecType;
|
||||||
if (_VCMencodedFrameCallback != NULL)
|
if (_VCMencodedFrameCallback != NULL)
|
||||||
|
Reference in New Issue
Block a user