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
This commit is contained in:
asapersson@webrtc.org 2014-05-13 13:45:13 +00:00
parent 023b101f4e
commit e41dbee8a6

View File

@ -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)) {