@@ -108,8 +108,10 @@ SoftwareIsp::SoftwareIsp(PipelineHandler *pipe, const CameraSensor *sensor,
std::optional<std::string> softISPMode = configuration.envOption("LIBCAMERA_SOFTISP_MODE", { "software_isp", "mode" });
if (softISPMode) {
if (softISPMode != "gpu" && softISPMode != "cpu") {
- LOG(SoftwareIsp, Error) << "LIBCAMERA_SOFISP_MODE " << softISPMode.value() << " invalid "
- << "must be \"cpu\" or \"gpu\"";
+ LOG(SoftwareIsp, Error)
+ << "LIBCAMERA_SOFTISP_MODE "
+ << softISPMode.value() << " invalid "
+ << "must be \"cpu\" or \"gpu\"";
return;
}
}
When an invalid parameter is specified to LIBCAMERA_SOFTISP_MODE, the error log has a typo. Fix the typo and reflow the line while here. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- src/libcamera/software_isp/software_isp.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)