Remove unused methods in VideoCodingModule.

Also voids ::Codec which always passed.

BUG=
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1464313004 .

Cr-Commit-Position: refs/heads/master@{#11167}
This commit is contained in:
Peter Boström
2016-01-07 15:42:47 +01:00
parent 3886fc8f57
commit 7776e782d6
8 changed files with 7 additions and 109 deletions

View File

@ -133,24 +133,6 @@ int32_t VideoSender::RegisterSendCodec(const VideoCodec* sendCodec,
return VCM_OK;
}
const VideoCodec& VideoSender::GetSendCodec() const {
RTC_DCHECK(main_thread_.CalledOnValidThread());
return current_codec_;
}
int32_t VideoSender::SendCodecBlocking(VideoCodec* currentSendCodec) const {
rtc::CritScope lock(&send_crit_);
if (currentSendCodec == nullptr) {
return VCM_PARAMETER_ERROR;
}
return _codecDataBase.SendCodec(currentSendCodec) ? 0 : -1;
}
VideoCodecType VideoSender::SendCodecBlocking() const {
rtc::CritScope lock(&send_crit_);
return _codecDataBase.SendCodec();
}
// Register an external decoder object.
// This can not be used together with external decoder callbacks.
void VideoSender::RegisterExternalEncoder(VideoEncoder* externalEncoder,