diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-27 00:07:33 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-27 23:41:18 +0300 |
commit | 2d5a78f664c5e0068cd3f78ff4c501cf4f331d3c (patch) | |
tree | eafd8c9e948ffa47ed13f8559ca597c224a42534 /src/v4l2/v4l2_camera_proxy.cpp | |
parent | 348df7bc4b5d5281e50c42b5c44b125d7049eb57 (diff) |
Documentation: application-developer: Add camera detection check
The simple-cam application has a check to ensure that at least one
camera is present before attempting to access the first camera, to avoid
a crash. Update the application developer's guide to match this
behaviour.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.cpp')
0 files changed, 0 insertions, 0 deletions