Index: webrtc/modules/video_coding/video_codec_initializer.cc |
diff --git a/webrtc/modules/video_coding/video_codec_initializer.cc b/webrtc/modules/video_coding/video_codec_initializer.cc |
index 6e0b806bc8b466ff4d9afeab91a38515ea1cb15c..7218cd57caa70e9fdae29e0df6cc3e049d650294 100644 |
--- a/webrtc/modules/video_coding/video_codec_initializer.cc |
+++ b/webrtc/modules/video_coding/video_codec_initializer.cc |
@@ -12,11 +12,12 @@ |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/logging.h" |
-#include "webrtc/common_video/include/video_bitrate_allocator.h" |
#include "webrtc/common_types.h" |
+#include "webrtc/common_video/include/video_bitrate_allocator.h" |
#include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h" |
#include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" |
#include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |
+#include "webrtc/modules/video_coding/include/video_coding_defines.h" |
#include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h" |
#include "webrtc/system_wrappers/include/clock.h" |
@@ -165,6 +166,8 @@ VideoCodec VideoCodecInitializer::VideoEncoderConfigToVideoCodec( |
video_codec.minBitrate = streams[0].min_bitrate_bps / 1000; |
if (video_codec.minBitrate < kEncoderMinBitrateKbps) |
video_codec.minBitrate = kEncoderMinBitrateKbps; |
+ video_codec.timing_frame_thresholds = {kDefaultTimingFramesDelayMs, |
+ kDefaultOutlierFrameSizePercent}; |
RTC_DCHECK_LE(streams.size(), kMaxSimulcastStreams); |
if (video_codec.codecType == kVideoCodecVP9) { |
// If the vector is empty, bitrates will be configured automatically. |