vpm unit test: Diasble frame dropping in tests
(follow up on r3284) BUG= Review URL: https://webrtc-codereview.appspot.com/991005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3285 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
4493db5a3e
commit
96dc6270d4
@ -213,13 +213,11 @@ TEST_F(VideoProcessingModuleTest, FrameStats)
|
||||
|
||||
TEST_F(VideoProcessingModuleTest, PreprocessorLogic)
|
||||
{
|
||||
// Disable temporal sampling.
|
||||
int resolution = 100;
|
||||
// Disable temporal sampling (frame dropping).
|
||||
_vpm->EnableTemporalDecimation(false);
|
||||
int resolution = 100;
|
||||
EXPECT_EQ(VPM_OK, _vpm->SetMaxFrameRate(30));
|
||||
EXPECT_EQ(VPM_OK, _vpm->SetTargetResolution(resolution, resolution, 15));
|
||||
// Revert
|
||||
_vpm->EnableTemporalDecimation(true);
|
||||
EXPECT_EQ(VPM_OK, _vpm->SetTargetResolution(resolution, resolution, 30));
|
||||
// Disable spatial sampling.
|
||||
_vpm->SetInputFrameResampleMode(kNoRescaling);
|
||||
|
Loading…
Reference in New Issue
Block a user