]> granicus.if.org Git - libvpx/commitdiff
Fix using screen content tuning in all the cpu speed tests.
authorAlex Converse <aconverse@google.com>
Thu, 17 Mar 2016 04:57:00 +0000 (21:57 -0700)
committerAlex Converse <aconverse@google.com>
Thu, 17 Mar 2016 04:57:00 +0000 (21:57 -0700)
Change-Id: Ie302283a52c563be0f1a84650f5f29be30d2bbe4

test/cpu_speed_test.cc

index 3592a7ee033bcf6e1a8a162ab9d1ee9da5061e3a..572834c1077e34e9f4d34914e9e9e73f50b3e6cf 100644 (file)
@@ -50,7 +50,7 @@ class CpuSpeedTest
                                   ::libvpx_test::Encoder *encoder) {
     if (video->frame() == 1) {
       encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_);
-      encoder->Control(VP9E_SET_TUNE_CONTENT, VP9E_CONTENT_SCREEN);
+      encoder->Control(VP9E_SET_TUNE_CONTENT, tune_content_);
       if (encoding_mode_ != ::libvpx_test::kRealTime) {
         encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
         encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7);