summaryrefslogtreecommitdiff
path: root/media/libaom/src/test/cpu_speed_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/test/cpu_speed_test.cc')
-rw-r--r--media/libaom/src/test/cpu_speed_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libaom/src/test/cpu_speed_test.cc b/media/libaom/src/test/cpu_speed_test.cc
index 8ea3e69650..2a164974b0 100644
--- a/media/libaom/src/test/cpu_speed_test.cc
+++ b/media/libaom/src/test/cpu_speed_test.cc
@@ -46,7 +46,7 @@ class CpuSpeedTest
virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video,
::libaom_test::Encoder *encoder) {
- if (video->frame() == 1) {
+ if (video->frame() == 0) {
encoder->Control(AOME_SET_CPUUSED, set_cpu_used_);
encoder->Control(AV1E_SET_TUNE_CONTENT, tune_content_);
if (encoding_mode_ != ::libaom_test::kRealTime) {