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:
@ -142,10 +142,10 @@ void MediaOptimization::Reset() {
|
||||
|
||||
void MediaOptimization::SetEncodingData(VideoCodecType send_codec_type,
|
||||
int32_t max_bit_rate,
|
||||
uint32_t frame_rate,
|
||||
uint32_t target_bitrate,
|
||||
uint16_t width,
|
||||
uint16_t height,
|
||||
uint32_t frame_rate,
|
||||
int num_layers,
|
||||
int32_t mtu) {
|
||||
CriticalSectionScoped lock(crit_sect_.get());
|
||||
|
||||
Reference in New Issue
Block a user