VCM: Removing frame drop enable from Reset call

BUG = 1387

Review URL: https://webrtc-codereview.appspot.com/1097010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3500 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org 2013-02-11 21:23:23 +00:00
parent 18a21a03c6
commit 57a0049e25

View File

@ -20,7 +20,8 @@ VCMFrameDropper::VCMFrameDropper(WebRtc_Word32 vcmId)
_vcmId(vcmId),
_keyFrameSizeAvgKbits(0.9f),
_keyFrameRatio(0.99f),
_dropRatio(0.9f, 0.96f)
_dropRatio(0.9f, 0.96f),
_enabled(true)
{
Reset();
}
@ -43,7 +44,6 @@ VCMFrameDropper::Reset()
_dropCount = 0;
_windowSize = 0.5f;
_wasBelowMax = true;
_enabled = true;
_fastMode = false; // start with normal (non-aggressive) mode
// Cap for the encoder buffer level/accumulator, in secs.
_cap_buffer_size = 3.0f;