Remove FPS->kilo-FPS conversion in VideoSender.

Wat.

Also moving the parameter to make sure this doesn't happen as easily
(right now it was part of a bitrate conversion from kilobits to bits).

BUG=
R=mflodman@webrtc.org, stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/51819004

Cr-Commit-Position: refs/heads/master@{#9177}
This commit is contained in:
Peter Boström
2015-05-12 12:22:14 +02:00
parent e5ff00a1c6
commit df664536af
3 changed files with 3 additions and 3 deletions

View File

@ -154,10 +154,10 @@ int32_t VideoSender::RegisterSendCodec(const VideoCodec* sendCodec,
_mediaOpt.SetEncodingData(sendCodec->codecType,
sendCodec->maxBitrate * 1000,
sendCodec->maxFramerate * 1000,
sendCodec->startBitrate * 1000,
sendCodec->width,
sendCodec->height,
sendCodec->maxFramerate,
numLayers,
maxPayloadSize);
return VCM_OK;