From e41dbee8a6d17b83a48ac4beca4ee49dab17a43c Mon Sep 17 00:00:00 2001 From: "asapersson@webrtc.org" Date: Tue, 13 May 2014 13:45:13 +0000 Subject: [PATCH] Reduced kMaxSampleDiffMs (limit to 22fps). BUG=1577 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12539004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6121 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/video_engine/overuse_frame_detector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/video_engine/overuse_frame_detector.cc b/webrtc/video_engine/overuse_frame_detector.cc index 191ae6dbe..078c89a55 100644 --- a/webrtc/video_engine/overuse_frame_detector.cc +++ b/webrtc/video_engine/overuse_frame_detector.cc @@ -140,8 +140,8 @@ class OveruseFrameDetector::EncodeUsage { EncodeUsage() : kWeightFactorFrameDiff(0.998f), kWeightFactorEncodeTime(0.995f), - kInitialSampleDiffMs(50.0f), - kMaxSampleDiffMs(66.0f), + kInitialSampleDiffMs(40.0f), + kMaxSampleDiffMs(45.0f), count_(0), filtered_encode_time_ms_(new VCMExpFilter(kWeightFactorEncodeTime)), filtered_frame_diff_ms_(new VCMExpFilter(kWeightFactorFrameDiff)) {