ResizeCspTest: request PSNR packets
authorJames Zern <jzern@google.com>
Fri, 27 Feb 2015 04:31:59 +0000 (20:31 -0800)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Tue, 3 Mar 2015 02:54:22 +0000 (18:54 -0800)
without VPX_CODEC_USE_PSNR they're only generated by default with
--enable-internal-stats

Change-Id: I9a5a8874a3aa4bde39ae09a4101ed5616c83c9a1

test/resize_test.cc

index ef84156..f1134aa 100644 (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));