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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cam/camera_session.cpp b/src/cam/camera_session.cpp
index 5a25baab..60501827 100644
--- a/src/cam/camera_session.cpp
+++ b/src/cam/camera_session.cpp
@@ -193,9 +193,10 @@ int CameraSession::start()
if (options_.isSet(OptFile)) {
if (!options_[OptFile].toString().empty())
- sink_ = std::make_unique<FileSink>(options_[OptFile]);
+ sink_ = std::make_unique<FileSink>(streamNames_,
+ options_[OptFile]);
else
- sink_ = std::make_unique<FileSink>();
+ sink_ = std::make_unique<FileSink>(streamNames_);
}
if (sink_) {