Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: webrtc/video_decoder.h

Issue 1647163002: Deprecate VideoDecoder::Reset() and remove calls. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove OnInitializeDecoder for video Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_decoder.h
diff --git a/webrtc/video_decoder.h b/webrtc/video_decoder.h
index 3cd94e8270dfb906870e8428455a02bff9fba979..23e89b1da6acb72cb101d7103858c020dde79bd3 100644
--- a/webrtc/video_decoder.h
+++ b/webrtc/video_decoder.h
@@ -73,7 +73,9 @@ class VideoDecoder {
DecodedImageCallback* callback) = 0;
virtual int32_t Release() = 0;
- virtual int32_t Reset() = 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
@@ -104,7 +106,6 @@ class VideoDecoderSoftwareFallbackWrapper : public webrtc::VideoDecoder {
DecodedImageCallback* callback) override;
int32_t Release() override;
- int32_t Reset() override;
bool PrefersLateDecoding() const override;
const char* ImplementationName() const override;
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698