diff options
author | chiyotsai <chiyotsai@google.com> | 2018-10-02 13:51:48 -0700 |
---|---|---|
committer | chiyotsai <chiyotsai@google.com> | 2018-10-02 16:03:45 -0700 |
commit | 3b946ed25295cb9d0ab4b90832468342422be839 (patch) | |
tree | a9891b7d89d59d503651338dd8dd58e0407643ba /test/active_map_test.cc | |
parent | c230d7f6e632a3fc10f042514d1246f78c244268 (diff) | |
download | libvpx-3b946ed25295cb9d0ab4b90832468342422be839.tar libvpx-3b946ed25295cb9d0ab4b90832468342422be839.tar.gz libvpx-3b946ed25295cb9d0ab4b90832468342422be839.tar.bz2 libvpx-3b946ed25295cb9d0ab4b90832468342422be839.zip |
Change the frame used to set up encoder in tests to 0.
Change-Id: Ied460b6ff53a58050d53dec8d32b627de5de3f3a
Diffstat (limited to 'test/active_map_test.cc')
-rw-r--r-- | test/active_map_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/active_map_test.cc b/test/active_map_test.cc index 1d24f956f..03536c81e 100644 --- a/test/active_map_test.cc +++ b/test/active_map_test.cc @@ -35,7 +35,7 @@ class ActiveMapTest virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) { - if (video->frame() == 1) { + if (video->frame() == 0) { encoder->Control(VP8E_SET_CPUUSED, cpu_used_); } else if (video->frame() == 3) { vpx_active_map_t map = vpx_active_map_t(); |