diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-07-16 16:01:32 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-05 20:07:13 +0200 |
commit | 673201c4d5ae9f7bd57fa75952934ecb29ba003a (patch) | |
tree | b76aeb484388e9d75f5eff30e968580aa676fd55 /LICENSES/BSD-2-Clause.txt | |
parent | 2e7c80a4f9d4f50a82c674863ce159856c748873 (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 'LICENSES/BSD-2-Clause.txt')
0 files changed, 0 insertions, 0 deletions