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 b718a163c7030f12716b19a06992d086abd8e369..47f65008086aa51d87527b1e8fe36c6530a6b722 100644 |
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
@@ -857,7 +857,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/Egl$Context"); |
if (!jni->IsInstanceOf(render_egl_context_, j_egl_context_class)) { |
ALOGE << "Wrong EGL Context."; |
jni->DeleteGlobalRef(render_egl_context_); |