@@ -13,6 +13,7 @@
#include <libcamera/base/class.h>
#include <libcamera/base/mutex.h>
+#include <libcamera/base/thread_annotations.h>
#include <libcamera/camera.h>
#include <libcamera/framebuffer.h>
@@ -57,7 +58,8 @@ public:
};
/* Keeps track of streams requiring post-processing. */
- std::map<CameraStream *, StreamBuffer *> pendingStreamsToProcess_;
+ std::map<CameraStream *, StreamBuffer *> pendingStreamsToProcess_
+ LIBCAMERA_TSA_GUARDED_BY(streamsProcessMutex_);
libcamera::Mutex streamsProcessMutex_;
Camera3RequestDescriptor(libcamera::Camera *camera,