Commit e189edfe authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Initialize pass variable in tile test.

Change-Id: I7977694223521404fc69f29ae2cff03e36e87299
parent db4dc6f0
No related merge requests found
Showing with 2 additions and 0 deletions
...@@ -140,6 +140,7 @@ void EncoderTest::RunLoop(VideoSource *video) { ...@@ -140,6 +140,7 @@ void EncoderTest::RunLoop(VideoSource *video) {
stats_.Reset(); stats_.Reset();
ASSERT_TRUE(passes_ == 1 || passes_ == 2);
for (unsigned int pass = 0; pass < passes_; pass++) { for (unsigned int pass = 0; pass < passes_; pass++) {
last_pts_ = 0; last_pts_ = 0;
......
...@@ -45,6 +45,7 @@ class TileIndependenceTest : public ::libvpx_test::EncoderTest, ...@@ -45,6 +45,7 @@ class TileIndependenceTest : public ::libvpx_test::EncoderTest,
virtual void SetUp() { virtual void SetUp() {
InitializeConfig(); InitializeConfig();
SetMode(libvpx_test::kTwoPassGood);
} }
virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment