libcamera: pipeline: simple: Log pipeline topology
Log the topology for each valid discovered pipeline to aid debugging. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
@@ -341,8 +341,15 @@ SimpleCameraData::SimpleCameraData(SimplePipelineHandler *pipe,
|
||||
/* Finally also remember the sensor. */
|
||||
sensor_ = std::make_unique<CameraSensor>(sensor);
|
||||
ret = sensor_->init();
|
||||
if (ret)
|
||||
if (ret) {
|
||||
sensor_.reset();
|
||||
return;
|
||||
}
|
||||
|
||||
LOG(SimplePipeline, Debug)
|
||||
<< "Found pipeline: "
|
||||
<< utils::join(entities_, " -> ",
|
||||
[](const Entity &e) { return e.entity->name(); });
|
||||
}
|
||||
|
||||
int SimpleCameraData::init()
|
||||
|
||||
Reference in New Issue
Block a user