Index: webrtc/video/video_send_stream.cc |
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc |
index 1c2a6423c16461d36bf337a5b24677233befc534..4bf16fb8941cfac0e818fd4c20180ea2d4dbbd89 100644 |
--- a/webrtc/video/video_send_stream.cc |
+++ b/webrtc/video/video_send_stream.cc |
@@ -327,6 +327,7 @@ VideoCodec VideoEncoderConfigToVideoCodec(const VideoEncoderConfig& config, |
video_codec.maxBitrate += streams[i].max_bitrate_bps / 1000; |
video_codec.qpMax = std::max(video_codec.qpMax, |
static_cast<unsigned int>(streams[i].max_qp)); |
+ video_codec.encodeFromTexture |= streams[i].encode_from_texture; |
perkj_webrtc
2016/06/15 11:31:29
hum- streams[i].encode_from_texture ? Should not b
skvlad
2016/06/15 19:44:34
Moved to VideoEncoderConfig as you suggested.
|
} |
if (video_codec.maxBitrate == 0) { |