summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/v4l2_videodevice/dequeue_watchdog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/dequeue_watchdog.cpp b/test/v4l2_videodevice/dequeue_watchdog.cpp
index 0cb4de6f..2282e395 100644
--- a/test/v4l2_videodevice/dequeue_watchdog.cpp
+++ b/test/v4l2_videodevice/dequeue_watchdog.cpp
@@ -33,8 +33,10 @@ protected:
Timer timeout;
int ret = capture_->allocateBuffers(bufferCount, &buffers_);
- if (ret < 0)
+ if (ret < 0) {
+ std::cout << "Failed to allocate buffers" << std::endl;
return TestFail;
+ }
capture_->dequeueTimeout.connect(this, &DequeueWatchdogTest::barkCounter);
capture_->setDequeueTimeout(5ms);