summaryrefslogtreecommitdiff
path: root/src/cam/camera_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/camera_session.h')
-rw-r--r--src/cam/camera_session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cam/camera_session.h b/src/cam/camera_session.h
index b3136383..b0f50e7f 100644
--- a/src/cam/camera_session.h
+++ b/src/cam/camera_session.h
@@ -28,7 +28,7 @@ class CameraSession
{
public:
CameraSession(libcamera::CameraManager *cm,
- const std::string &cameraId,
+ const std::string &cameraId, unsigned int cameraIndex,
const OptionsParser::Options &options);
~CameraSession();
@@ -60,6 +60,8 @@ private:
std::map<const libcamera::Stream *, std::string> streamName_;
std::unique_ptr<BufferWriter> writer_;
+ unsigned int cameraIndex_;
+
uint64_t last_;
unsigned int queueCount_;