Remove ignored return code from modules.
ModuleProcessImpl doesn't act on return codes and having them around is confusing (it's unclear what an error return code here would do even). BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1703833002 . Cr-Commit-Position: refs/heads/master@{#11747}
This commit is contained in:
@ -53,9 +53,7 @@ VideoSender::VideoSender(Clock* clock,
|
||||
|
||||
VideoSender::~VideoSender() {}
|
||||
|
||||
int32_t VideoSender::Process() {
|
||||
int32_t returnValue = VCM_OK;
|
||||
|
||||
void VideoSender::Process() {
|
||||
if (_sendStatsTimer.TimeUntilProcess() == 0) {
|
||||
_sendStatsTimer.Processed();
|
||||
CriticalSectionScoped cs(process_crit_sect_.get());
|
||||
@ -72,8 +70,6 @@ int32_t VideoSender::Process() {
|
||||
// updated even if bandwidth hasn't changed.
|
||||
encoder_params_.input_frame_rate = _mediaOpt.InputFrameRate();
|
||||
}
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
int64_t VideoSender::TimeUntilNextProcess() {
|
||||
|
||||
Reference in New Issue
Block a user