Index: talk/app/webrtc/java/jni/androidmediaencoder_jni.cc |
diff --git a/talk/app/webrtc/java/jni/androidmediaencoder_jni.cc b/talk/app/webrtc/java/jni/androidmediaencoder_jni.cc |
index 3fc13222ede0a2316ecf39f8a4e9cdbe22cb5e73..6a60d93de8857021a808f3d4e68e37ef78599560 100644 |
--- a/talk/app/webrtc/java/jni/androidmediaencoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediaencoder_jni.cc |
@@ -278,7 +278,7 @@ MediaCodecVideoEncoder::MediaCodecVideoEncoder( |
*j_media_codec_video_encoder_class_, |
"initEncode", |
"(Lorg/webrtc/MediaCodecVideoEncoder$VideoCodecType;" |
- "IIIILjavax/microedition/khronos/egl/EGLContext;)Z"); |
+ "IIIILorg/webrtc/Egl$Context;)Z"); |
j_get_input_buffers_method_ = GetMethodID( |
jni, |
*j_media_codec_video_encoder_class_, |
@@ -1108,7 +1108,7 @@ void MediaCodecVideoEncoderFactory::SetEGLContext( |
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(egl_context_, j_egl_context_class)) { |
ALOGE << "Wrong EGL Context."; |
jni->DeleteGlobalRef(egl_context_); |