summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r--src/cam/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index 70e9f62c..f71b65a2 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -13,7 +13,7 @@
#include <libcamera/libcamera.h>
#include <libcamera/property_ids.h>
-#include "capture.h"
+#include "camera_session.h"
#include "event_loop.h"
#include "main.h"
#include "options.h"
@@ -363,8 +363,8 @@ int CamApp::run()
}
if (options_.isSet(OptCapture)) {
- Capture capture(camera_, config_.get(), &loop_);
- return capture.run(options_);
+ CameraSession session(camera_, config_.get(), &loop_);
+ return session.run(options_);
}
if (options_.isSet(OptMonitor)) {