Index: webrtc/modules/video_coding/codec_database.cc |
diff --git a/webrtc/modules/video_coding/codec_database.cc b/webrtc/modules/video_coding/codec_database.cc |
index 794e955723f88be60e4d2a96c83e4d171054cf0e..92ae5d23b5a71ffb33231446036559b0b5323f3f 100644 |
--- a/webrtc/modules/video_coding/codec_database.cc |
+++ b/webrtc/modules/video_coding/codec_database.cc |
@@ -127,6 +127,9 @@ void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { |
settings->height = VCM_DEFAULT_CODEC_HEIGHT; |
settings->numberOfSimulcastStreams = 0; |
settings->qpMax = 56; |
+ settings->timing_frame_thresholds = { |
+ kDefaultTimingFramesDelayMs, kDefaultOutlierFrameSizePercent, |
+ }; |
*(settings->VP8()) = VideoEncoder::GetDefaultVp8Settings(); |
return; |
case kVideoCodecVP9: |
@@ -142,6 +145,9 @@ void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { |
settings->height = VCM_DEFAULT_CODEC_HEIGHT; |
settings->numberOfSimulcastStreams = 0; |
settings->qpMax = 56; |
+ settings->timing_frame_thresholds = { |
+ kDefaultTimingFramesDelayMs, kDefaultOutlierFrameSizePercent, |
+ }; |
*(settings->VP9()) = VideoEncoder::GetDefaultVp9Settings(); |
return; |
case kVideoCodecH264: |
@@ -157,6 +163,9 @@ void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { |
settings->height = VCM_DEFAULT_CODEC_HEIGHT; |
settings->numberOfSimulcastStreams = 0; |
settings->qpMax = 56; |
+ settings->timing_frame_thresholds = { |
+ kDefaultTimingFramesDelayMs, kDefaultOutlierFrameSizePercent, |
+ }; |
*(settings->H264()) = VideoEncoder::GetDefaultH264Settings(); |
return; |
case kVideoCodecI420: |