shithub: libvpx

Download patch

ref: 40f177ab3e5c7696f67c9e936bd36c83c0a45a8a
parent: 1790d45252efb29903baae3d1776bb24cee76558
author: James Zern <[email protected]>
date: Thu Feb 26 15:31:59 EST 2015

ResizeCspTest: request PSNR packets

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

Change-Id: I9a5a8874a3aa4bde39ae09a4101ed5616c83c9a1

--- a/test/resize_test.cc
+++ b/test/resize_test.cc
@@ -360,6 +360,7 @@
 
 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));