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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/v4l2_videodevice/capture_async.cpp b/test/v4l2_videodevice/capture_async.cpp
index 4909f71a..17eb528b 100644
--- a/test/v4l2_videodevice/capture_async.cpp
+++ b/test/v4l2_videodevice/capture_async.cpp
@@ -6,12 +6,12 @@
*/
#include <libcamera/buffer.h>
-#include <libcamera/camera_manager.h>
#include <libcamera/event_dispatcher.h>
#include <libcamera/timer.h>
#include <iostream>
+#include "thread.h"
#include "v4l2_videodevice_test.h"
class CaptureAsyncTest : public V4L2VideoDeviceTest
@@ -34,7 +34,7 @@ protected:
{
const unsigned int bufferCount = 8;
- EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();
+ EventDispatcher *dispatcher = Thread::current()->eventDispatcher();
Timer timeout;
int ret;