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>
This commit is contained in:
+3
-3
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user