summaryrefslogtreecommitdiff
path: root/src/cam/camera_session.cpp
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2022-10-17 20:33:23 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2022-10-19 21:05:49 +0900
commit6404b163bcbb021508b0b09c36c12b516dcb9a36 (patch)
tree3cba44ffb2fb937b514f0423373bb2366d17fd61 /src/cam/camera_session.cpp
parentbb394442abf0f1bcb70fa6a48e3949da79703a71 (diff)
cam: file_sink: Add support for DNG output
Add support for outputting buffers in DNG format. It reuses the DNG writer that we had previously in qcam. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/camera_session.cpp')
-rw-r--r--src/cam/camera_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/camera_session.cpp b/src/cam/camera_session.cpp
index 238186a3..6b409c98 100644
--- a/src/cam/camera_session.cpp
+++ b/src/cam/camera_session.cpp
@@ -207,10 +207,10 @@ int CameraSession::start()
if (options_.isSet(OptFile)) {
if (!options_[OptFile].toString().empty())
- sink_ = std::make_unique<FileSink>(streamNames_,
+ sink_ = std::make_unique<FileSink>(camera_.get(), streamNames_,
options_[OptFile]);
else
- sink_ = std::make_unique<FileSink>(streamNames_);
+ sink_ = std::make_unique<FileSink>(camera_.get(), streamNames_);
}
if (sink_) {