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:
stefan@webrtc.org
2013-04-11 17:21:40 +00:00
parent eac36b8561
commit 122d209e67

View File

@@ -47,7 +47,7 @@ VCMGenericEncoder::InitEncode(const VideoCodec* settings,
int32_t numberOfCores,
uint32_t maxPayloadSize)
{
_bitRate = settings->startBitrate;
_bitRate = settings->startBitrate * 1000;
_frameRate = settings->maxFramerate;
_codecType = settings->codecType;
if (_VCMencodedFrameCallback != NULL)