summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms/awb.cpp
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-07-31 20:36:14 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-08-01 08:50:36 +0100
commit06674004fb754afded78125aabc642dbf6ff9c84 (patch)
treea31135823bc414f519974a4b27b1aeb6e0be67b3 /src/ipa/ipu3/algorithms/awb.cpp
parenta3ddf56a00c1cd7801c6e3c9a628618978377c9f (diff)
libcamera: simple: Log a missing sensor in a better way
SimplePipelineHandler::match may be called several times for different pipeline configurations. Not all of these calls must succeed. For example, for TI AM69 board with a single camera attached, the following error is reported in the log even when libcamera works fine: ERROR SimplePipeline simple.cpp:1558 No sensor found This is because a sensor is found for /dev/media0 but not for /dev/media1. The error is harmless in such a case and only confuses users who may think no camera is detected at all. Let's change the error to info and add the device node to the message to indicate the error is specific to the given media only. It's up to the callers to report a fatal error condition if libcamera cannot work due to no matching pipeline configuration. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/algorithms/awb.cpp')
0 files changed, 0 insertions, 0 deletions