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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cam/camera_session.h b/src/cam/camera_session.h
index b0f50e7f..2ccc7197 100644
--- a/src/cam/camera_session.h
+++ b/src/cam/camera_session.h
@@ -21,9 +21,10 @@
#include <libcamera/request.h>
#include <libcamera/stream.h>
-#include "buffer_writer.h"
#include "options.h"
+class FrameSink;
+
class CameraSession
{
public:
@@ -53,13 +54,14 @@ private:
int queueRequest(libcamera::Request *request);
void requestComplete(libcamera::Request *request);
void processRequest(libcamera::Request *request);
+ void sinkRelease(libcamera::Request *request);
const OptionsParser::Options &options_;
std::shared_ptr<libcamera::Camera> camera_;
std::unique_ptr<libcamera::CameraConfiguration> config_;
std::map<const libcamera::Stream *, std::string> streamName_;
- std::unique_ptr<BufferWriter> writer_;
+ std::unique_ptr<FrameSink> sink_;
unsigned int cameraIndex_;
uint64_t last_;