libcamera: camera: Report the pipeline handler name

Add the Pipeline handler name to the Camera Properties when a camera is
constructed.

This helps support and identify how the camera is being managed
internally and what configuration has taken effect, especially as the
pipeline handler chosen can be impacted by both environment variables
and configuration files.

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2026-03-30 12:40:25 +01:00
parent 71e188f58f
commit 4b6c47bd66

View File

@@ -931,6 +931,7 @@ Camera::Camera(std::unique_ptr<Private> d, const std::string &id,
: Extensible(std::move(d))
{
_d()->id_ = id;
_d()->properties_.set(properties::PipelineHandler, _d()->pipe_->name());
_d()->streams_ = streams;
_d()->validator_ = std::make_unique<CameraControlValidator>(this);
}