// Disable dropped frames.
cfg_.rc_dropframe_thresh = 0;
// Starting bitrate low.
- cfg_.rc_target_bitrate = 90;
+ cfg_.rc_target_bitrate = 80;
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
unsigned int last_w = cfg_.g_w;
}
}
- // Verify that we get at least 1 resize event in this test.
- // TODO(marpan): We should be able to force 2 resize events
- // with some change in encoder settings/bitrate.
- ASSERT_GE(resize_count, 1) << "Resizing should occur at least once.";
+ // Verify that we get 2 resize events in this test.
+ ASSERT_EQ(resize_count, 2) << "Resizing should occur twice.";
}
vpx_img_fmt_t CspForFrameNumber(int frame) {