Index: talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java |
diff --git a/talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java b/talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java |
index 58709ea3f1f0024740e457c01cd9145396916ca3..347a15033f7cc37783760af87249392c67db95bc 100644 |
--- a/talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java |
+++ b/talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java |
@@ -321,7 +321,7 @@ public class MediaCodecVideoEncoder { |
format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); |
if (useSurface) { |
- eglBase = EglBase.create(sharedContext, EglBase.ConfigType.RECORDABLE); |
+ eglBase = EglBase.create(sharedContext, EglBase.CONFIG_RECORDABLE); |
// Create an input surface and keep a reference since we must release the surface when done. |
inputSurface = mediaCodec.createInputSurface(); |
eglBase.createSurface(inputSurface); |