summaryrefslogtreecommitdiff
path: root/test/vp9_lossless_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/vp9_lossless_test.cc')
-rw-r--r--test/vp9_lossless_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vp9_lossless_test.cc b/test/vp9_lossless_test.cc
index 703b55e9b..5cf0a41da 100644
--- a/test/vp9_lossless_test.cc
+++ b/test/vp9_lossless_test.cc
@@ -38,7 +38,7 @@ class LosslessTest
virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video,
::libvpx_test::Encoder *encoder) {
- if (video->frame() == 1) {
+ if (video->frame() == 0) {
// Only call Control if quantizer > 0 to verify that using quantizer
// alone will activate lossless
if (cfg_.rc_max_quantizer > 0 || cfg_.rc_min_quantizer > 0) {