Remove QualityScaler framerate reduction.
Framerate-reduction code is disabled on all platforms, and this code adds complexity. It's necessary to react fast, especially on mobile platforms or other bad network conditions and framerate reduction adds another step between HD and QVGA. BUG=webrtc:5678, webrtc:5830 R=jackychen@webrtc.org, mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1885893002 . Cr-Commit-Position: refs/heads/master@{#12503}
This commit is contained in:
@ -71,15 +71,6 @@ int32_t VPMFramePreprocessor::SetTargetResolution(uint32_t width,
|
||||
return VPM_OK;
|
||||
}
|
||||
|
||||
void VPMFramePreprocessor::SetTargetFramerate(int frame_rate) {
|
||||
if (frame_rate == -1) {
|
||||
vd_->EnableTemporalDecimation(false);
|
||||
} else {
|
||||
vd_->EnableTemporalDecimation(true);
|
||||
vd_->SetTargetFramerate(frame_rate);
|
||||
}
|
||||
}
|
||||
|
||||
void VPMFramePreprocessor::UpdateIncomingframe_rate() {
|
||||
vd_->UpdateIncomingframe_rate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user