diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-11-30 23:25:40 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-12-30 13:03:55 +0000 |
commit | 0a823785fad27e1eb9a900e80923bc9bde106de9 (patch) | |
tree | efeeba45de3f6c8758dd9420fc451d19f60f735a /test/v4l2_videodevice/request_buffers.cpp | |
parent | 8f4e16f014c820a0ecb85e28453b88c277bc859f (diff) |
libcamera: file: Check files exist()
Ensure that when we check for existence with File() it will only return
if the path leads to a file, and not a directory.
Device nodes which could still be opened by this class are still
supported.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/request_buffers.cpp')
0 files changed, 0 insertions, 0 deletions