summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 7dd23d75..48d88d64 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -71,13 +71,13 @@ class Camera final : public Object, public std::enable_shared_from_this<Camera>
{
public:
static std::shared_ptr<Camera> create(PipelineHandler *pipe,
- const std::string &name,
+ const std::string &id,
const std::set<Stream *> &streams);
Camera(const Camera &) = delete;
Camera &operator=(const Camera &) = delete;
- const std::string &name() const;
+ const std::string &id() const;
Signal<Request *, FrameBuffer *> bufferCompleted;
Signal<Request *> requestCompleted;
@@ -100,7 +100,7 @@ public:
int stop();
private:
- Camera(PipelineHandler *pipe, const std::string &name,
+ Camera(PipelineHandler *pipe, const std::string &id,
const std::set<Stream *> &streams);
~Camera();