diff options
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r-- | test/camera/capture.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp index f13ca53b..fd5292b7 100644 --- a/test/camera/capture.cpp +++ b/test/camera/capture.cpp @@ -11,6 +11,8 @@ #include <libcamera/framebuffer_allocator.h> #include <libcamera/timer.h> +#include "libcamera/internal/thread.h" + #include "camera_test.h" #include "test.h" @@ -131,7 +133,7 @@ protected: } } - EventDispatcher *dispatcher = cm_->eventDispatcher(); + EventDispatcher *dispatcher = Thread::current()->eventDispatcher(); Timer timer; timer.start(1000); |