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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cam/camera_session.cpp b/src/cam/camera_session.cpp
index f91b5234..f34a6ed5 100644
--- a/src/cam/camera_session.cpp
+++ b/src/cam/camera_session.cpp
@@ -13,9 +13,9 @@
#include <libcamera/control_ids.h>
#include <libcamera/property_ids.h>
-#include "buffer_writer.h"
#include "camera_session.h"
#include "event_loop.h"
+#include "file_sink.h"
#include "main.h"
#include "stream_options.h"
@@ -163,9 +163,9 @@ int CameraSession::start()
if (options_.isSet(OptFile)) {
if (!options_[OptFile].toString().empty())
- sink_ = std::make_unique<BufferWriter>(options_[OptFile]);
+ sink_ = std::make_unique<FileSink>(options_[OptFile]);
else
- sink_ = std::make_unique<BufferWriter>();
+ sink_ = std::make_unique<FileSink>();
}
if (sink_) {