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..47ceb690e423cfb22cfb1dbb1ce115208253a12a 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->encode_from_texture /* use_surface */)); |
tommi
2016/06/15 21:00:39
remove the comment?
skvlad
2016/06/15 22:10:36
Done.
|
} |
int32_t MediaCodecVideoEncoder::Encode( |