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 fbe7fdffb2bf522271c1ee7958bdb490a1ebaca6..618c119371ecdbb7e710ead4cbb582d6a93b3ebf 100644 |
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
@@ -474,7 +474,7 @@ int32_t MediaCodecVideoDecoder::Decode( |
// Always start with a complete key frame. |
if (key_frame_required_) { |
- if (inputImage._frameType != webrtc::kKeyFrame) { |
+ if (inputImage._frameType != webrtc::kVideoFrameKey) { |
ALOGE << "Decode() - key frame is required"; |
return WEBRTC_VIDEO_CODEC_ERROR; |
} |