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

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc

Issue 1690193003: Remove Reset from conditionally-compiled decoders. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
Index: webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc b/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc
index 692422ec447184d36ee3262cfd00df9d63d057ae..a28f41d101e42bd94645257fb699432e008919e6 100644
--- a/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc
+++ b/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc
@@ -241,13 +241,6 @@ int32_t H264DecoderImpl::Release() {
return WEBRTC_VIDEO_CODEC_OK;
}
-int32_t H264DecoderImpl::Reset() {
- if (!IsInitialized())
- return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
- InitDecode(nullptr, 1);
- return WEBRTC_VIDEO_CODEC_OK;
-}
-
int32_t H264DecoderImpl::RegisterDecodeCompleteCallback(
DecodedImageCallback* callback) {
decoded_image_callback_ = callback;

Powered by Google App Engine
This is Rietveld 408576698