summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera.h')
-rw-r--r--src/v4l2/v4l2_camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v4l2/v4l2_camera.h b/src/v4l2/v4l2_camera.h
index 4afbb331..bf1b6de4 100644
--- a/src/v4l2/v4l2_camera.h
+++ b/src/v4l2/v4l2_camera.h
@@ -8,10 +8,10 @@
#pragma once
#include <deque>
-#include <mutex>
#include <utility>
#include <libcamera/base/semaphore.h>
+#include <libcamera/base/thread.h>
#include <libcamera/camera.h>
#include <libcamera/file_descriptor.h>
@@ -71,7 +71,7 @@ private:
bool isRunning_;
- std::mutex bufferLock_;
+ libcamera::Mutex bufferLock_;
libcamera::FrameBufferAllocator *bufferAllocator_;
std::vector<std::unique_ptr<libcamera::Request>> requestPool_;