summaryrefslogtreecommitdiff
path: root/src/cam/camera_session.cpp
diff options
context:
space:
mode:
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_) {