ResizeCspTest: request PSNR packets

without VPX_CODEC_USE_PSNR they're only generated by default with
--enable-internal-stats

Change-Id: I9a5a8874a3aa4bde39ae09a4101ed5616c83c9a1
This commit is contained in:
James Zern 2015-02-26 20:31:59 -08:00 committed by Gerrit Code Review
parent 1790d45252
commit 40f177ab3e

View File

@ -360,6 +360,7 @@ class ResizingCspVideoSource : public ::libvpx_test::DummyVideoSource {
TEST_P(ResizeCspTest, TestResizeCspWorks) {
ResizingCspVideoSource video;
init_flags_ = VPX_CODEC_USE_PSNR;
cfg_.rc_min_quantizer = cfg_.rc_max_quantizer = 48;
cfg_.g_lag_in_frames = 0;
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));