diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-18 14:59:42 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-29 12:33:50 +0100 |
commit | 651e3fab6329498a7f46703ce5bb92c49cc37624 (patch) | |
tree | 121753ecb9effabac69232fb2917a2057807c9d0 /test/controls/control_info_map.cpp | |
parent | 5718b4d5b7c8808b1d6137f90fc4690e15349c3d (diff) |
libcamera: camera: Report function which fails access control
The camera object has a state machine to ensure calls are only made
when in the correct state. It isn't easy to identify where things happen
when assertions fail so add extra information to make this clearer.
The error level of the isAccessAllowed is raised from Debug to Error as
this is important information for applications to know if they have made
a request in an invalid state.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/controls/control_info_map.cpp')
0 files changed, 0 insertions, 0 deletions