libcamera: camera: Rename name() to id()
Rename Camera::name() to camera::id() to better describe what it represents, a unique and stable ID for the camera. While at it improve the documentation for the camera ID to describe it needs to be stable for a camera between resets of the system. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -95,7 +95,7 @@ int FrameBufferAllocator::allocate(Stream *stream)
|
||||
int ret = camera_->exportFrameBuffers(stream, &buffers_[stream]);
|
||||
if (ret == -EINVAL)
|
||||
LOG(Allocator, Error)
|
||||
<< "Stream is not part of " << camera_->name()
|
||||
<< "Stream is not part of " << camera_->id()
|
||||
<< " active configuration";
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user