Index: webrtc/api/java/jni/androidmediaencoder_jni.cc |
diff --git a/webrtc/api/java/jni/androidmediaencoder_jni.cc b/webrtc/api/java/jni/androidmediaencoder_jni.cc |
index b76cfe7155e301d4646e6aaf63018707c9b59f63..56f0aafdec3a7ff556e37af63fa8fd1c94860b62 100644 |
--- a/webrtc/api/java/jni/androidmediaencoder_jni.cc |
+++ b/webrtc/api/java/jni/androidmediaencoder_jni.cc |
@@ -416,7 +416,8 @@ int32_t MediaCodecVideoEncoder::InitEncode( |
RTC_FROM_HERE, |
Bind(&MediaCodecVideoEncoder::InitEncodeOnCodecThread, this, init_width, |
init_height, codec_settings->startBitrate, |
- codec_settings->maxFramerate, false /* use_surface */)); |
+ codec_settings->maxFramerate, |
+ codec_settings->expect_encode_from_texture)); |
} |
int32_t MediaCodecVideoEncoder::Encode( |