diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-05 06:40:19 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-22 17:13:39 +0300 |
commit | 94d828d880492617c936434a5ca93ee83366a31b (patch) | |
tree | b4a671605782069d6bbc410292f6075296e466ff /src/cam/main.cpp | |
parent | 180e95f06a4c0a97f58b9f791d0b48298fdd7def (diff) |
cam: Rename Capture to CameraSession
Rename the Capture class to CameraSession, to prepare for multi-camera
support that will gather more camera-related operations than capture in
that class.
While at it, remove an unneeded blank line.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r-- | src/cam/main.cpp | 6 |
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)) { |