diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-15 23:18:23 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-23 09:50:50 +0300 |
commit | ad0a61e32ca54ddcb400bbb2d8396f15b10bda90 (patch) | |
tree | 0754a2e318d29266ceed2b17e363a5e5edd7d3a0 /src/qcam/qt_event_dispatcher.h | |
parent | bd67bef8c67dac9759ef3634121062a934651fa3 (diff) |
libcamera: ipa_manager: Rework error messages when enumerating IPAs
When enumerating IPAs, the system IPA directory and all the directories
listed in the LIBCAMERA_IPA_MODULE_PATH environment variable are listed
in turn. Failing to list any of those directories results in an error
message being printed for every failure. This is particularly common
when developing libcamera, as IPAs may not have been installed locally.
To avoid unnecessarily worrying error messages, rework the enumeration
procedure to only print a message when no IPA can be found at all.
Individual missing directories are not considered as an issue anymore.
The message is also downgraded from an error to a warning as the
situation may still be normal.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/qt_event_dispatcher.h')
0 files changed, 0 insertions, 0 deletions