Remove no-op VideoDecoder::Reset implementation.

No longer used in Chromium and should be removable now.

BUG=webrtc:5475
TBR=mflodman@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11602}
This commit is contained in:
Peter Boström 2016-02-12 15:16:24 +01:00
parent 25558ad819
commit c90e9b64d5
2 changed files with 0 additions and 8 deletions

View File

@ -168,10 +168,6 @@ int32_t NullVideoDecoder::Release() {
return WEBRTC_VIDEO_CODEC_OK;
}
int32_t NullVideoDecoder::Reset() {
return WEBRTC_VIDEO_CODEC_OK;
}
const char* NullVideoDecoder::ImplementationName() const {
return "NullVideoDecoder";
}

View File

@ -73,9 +73,6 @@ class VideoDecoder {
DecodedImageCallback* callback) = 0;
virtual int32_t Release() = 0;
// TODO(pbos): Remove, this is no longer called. A no-op implementation is
// added here to permit removal elsewhere.
virtual int32_t Reset() { return 0; }
// Returns true if the decoder prefer to decode frames late.
// That is, it can not decode infinite number of frames before the decoded
@ -142,7 +139,6 @@ class NullVideoDecoder : public VideoDecoder {
DecodedImageCallback* callback) override;
int32_t Release() override;
int32_t Reset() override;
const char* ImplementationName() const override;
};