summaryrefslogtreecommitdiff
path: root/test/camera/capture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r--test/camera/capture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index 6d564fe4..c4bc2110 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -142,7 +142,7 @@ protected:
unsigned int nbuffers = allocator_->buffers(stream).size();
- if (completeRequestsCount_ <= nbuffers * 2) {
+ if (completeRequestsCount_ < nbuffers * 2) {
cout << "Failed to capture enough frames (got "
<< completeRequestsCount_ << " expected at least "
<< nbuffers * 2 << ")" << endl;