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 4554e7b59cacbe590b12757faf1fae59e2a32599..fa111968f67f2cdf19ca0b3c2f1a319bd340e1ee 100644 |
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
@@ -858,7 +858,7 @@ void MediaCodecVideoDecoderFactory::SetEGLContext( |
render_egl_context_ = NULL; |
} else { |
jclass j_egl_context_class = |
- FindClass(jni, "javax/microedition/khronos/egl/EGLContext"); |
+ FindClass(jni, "org/webrtc/EglBase$Context"); |
if (!jni->IsInstanceOf(render_egl_context_, j_egl_context_class)) { |
ALOGE << "Wrong EGL Context."; |
jni->DeleteGlobalRef(render_egl_context_); |