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, 2 insertions, 2 deletions
diff --git a/src/cam/camera_session.h b/src/cam/camera_session.h
index 5131cfd4..31e8d6db 100644
--- a/src/cam/camera_session.h
+++ b/src/cam/camera_session.h
@@ -44,7 +44,7 @@ private:
libcamera::CameraConfiguration *config_;
std::map<const libcamera::Stream *, std::string> streamName_;
- BufferWriter *writer_;
+ std::unique_ptr<BufferWriter> writer_;
uint64_t last_;
unsigned int queueCount_;
@@ -52,7 +52,7 @@ private:
unsigned int captureLimit_;
bool printMetadata_;
- libcamera::FrameBufferAllocator *allocator_;
+ std::unique_ptr<libcamera::FrameBufferAllocator> allocator_;
std::vector<std::unique_ptr<libcamera::Request>> requests_;
};