Index: talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
diff --git a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
index 43254fbccaf4c3c7e9a33ac1cfe55adf22cab69c..2eb035bb982bf263ccadfa1602fecd26db41b776 100644 |
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
@@ -100,8 +100,6 @@ class MediaCodecVideoDecoder : public webrtc::VideoDecoder, |
int32_t Release() override; |
- int32_t Reset() override; |
- |
bool PrefersLateDecoding() const override { return true; } |
// rtc::MessageHandler implementation. |
@@ -805,14 +803,6 @@ int32_t MediaCodecVideoDecoder::RegisterDecodeCompleteCallback( |
return WEBRTC_VIDEO_CODEC_OK; |
} |
-int32_t MediaCodecVideoDecoder::Reset() { |
- ALOGD << "DecoderReset"; |
- if (!inited_) { |
- return WEBRTC_VIDEO_CODEC_UNINITIALIZED; |
- } |
- return InitDecode(&codec_, 1); |
-} |
- |
void MediaCodecVideoDecoder::OnMessage(rtc::Message* msg) { |
JNIEnv* jni = AttachCurrentThreadIfNeeded(); |
ScopedLocalRefFrame local_ref_frame(jni); |