summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/capture_async.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/capture_async.cpp')
-rw-r--r--test/v4l2_videodevice/capture_async.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/capture_async.cpp b/test/v4l2_videodevice/capture_async.cpp
index 3aa4ca0b..42e1e671 100644
--- a/test/v4l2_videodevice/capture_async.cpp
+++ b/test/v4l2_videodevice/capture_async.cpp
@@ -16,6 +16,7 @@
#include "v4l2_videodevice_test.h"
using namespace libcamera;
+using namespace std::chrono_literals;
class CaptureAsyncTest : public V4L2VideoDeviceTest
{
@@ -60,7 +61,7 @@ protected:
if (ret)
return TestFail;
- timeout.start(10000);
+ timeout.start(10000ms);
while (timeout.isRunning()) {
dispatcher->processEvents();
if (frames > 30)