summaryrefslogtreecommitdiff
path: root/test/camera/buffer_import.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/buffer_import.cpp')
-rw-r--r--test/camera/buffer_import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp
index 7ff62826..61f4eb92 100644
--- a/test/camera/buffer_import.cpp
+++ b/test/camera/buffer_import.cpp
@@ -138,7 +138,7 @@ protected:
while (timer.isRunning())
dispatcher->processEvents();
- if (completeRequestsCount_ <= cfg.bufferCount * 2) {
+ if (completeRequestsCount_ < cfg.bufferCount * 2) {
std::cout << "Failed to capture enough frames (got "
<< completeRequestsCount_ << " expected at least "
<< cfg.bufferCount * 2 << ")" << std::endl;