summaryrefslogtreecommitdiff
path: root/src/cam/buffer_writer.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-16 16:01:32 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-08-05 20:07:13 +0200
commit673201c4d5ae9f7bd57fa75952934ecb29ba003a (patch)
treeb76aeb484388e9d75f5eff30e968580aa676fd55 /src/cam/buffer_writer.h
parent2e7c80a4f9d4f50a82c674863ce159856c748873 (diff)
libcamera: camera_manager: Enforce unique camera IDs
The camera ID is documented that it should be unique but it's not enforced. Change this by refusing to add cameras to the CameraManager that would create two cameras with the exact same ID. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/buffer_writer.h')
0 files changed, 0 insertions, 0 deletions