summaryrefslogtreecommitdiff
path: root/test/cq_test.cc
diff options
context:
space:
mode:
authorchiyotsai <chiyotsai@google.com>2018-10-02 13:51:48 -0700
committerchiyotsai <chiyotsai@google.com>2018-10-02 16:03:45 -0700
commit3b946ed25295cb9d0ab4b90832468342422be839 (patch)
treea9891b7d89d59d503651338dd8dd58e0407643ba /test/cq_test.cc
parentc230d7f6e632a3fc10f042514d1246f78c244268 (diff)
downloadlibvpx-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/cq_test.cc')
-rw-r--r--test/cq_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cq_test.cc b/test/cq_test.cc
index 20e1f0f3d..474b9d0fa 100644
--- a/test/cq_test.cc
+++ b/test/cq_test.cc
@@ -65,7 +65,7 @@ class CQTest : public ::libvpx_test::EncoderTest,
virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
libvpx_test::Encoder *encoder) {
- if (video->frame() == 1) {
+ if (video->frame() == 0) {
if (cfg_.rc_end_usage == VPX_CQ) {
encoder->Control(VP8E_SET_CQ_LEVEL, cq_level_);
}