summaryrefslogtreecommitdiff
path: root/src/cam/capture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/capture.h')
-rw-r--r--src/cam/capture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cam/capture.h b/src/cam/capture.h
index 1d4a25a8..ee0dc421 100644
--- a/src/cam/capture.h
+++ b/src/cam/capture.h
@@ -7,6 +7,7 @@
#ifndef __CAM_CAPTURE_H__
#define __CAM_CAPTURE_H__
+#include <chrono>
#include <memory>
#include <libcamera/camera.h>
@@ -35,7 +36,7 @@ private:
std::map<libcamera::Stream *, std::string> streamName_;
BufferWriter *writer_;
- uint64_t last_;
+ std::chrono::steady_clock::time_point last_;
};
#endif /* __CAM_CAPTURE_H__ */