diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-21 14:57:02 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-21 17:34:12 +0100 |
commit | a7d7bc03e5e0c586b203dd86a6b1b41689f08d5e (patch) | |
tree | 2d5dc13a3adb83660c9503f6f57fe735c52ef9f8 /src | |
parent | 32cc6717d26820f55d2e8315ac2300d3a630417c (diff) |
libcamera: pipeline: Fix LIBCAMERA_<NAME>_TUNING_FILE handling
In f5da05ed03ee ("libcamera: pipeline: Move tuning file override
handling to IPAProxy") a incorrect comparison slipped through. That
broke the handling of LIBCAMERA_<NAME>_TUNING_FILE. Fix that.
Fixes: f5da05ed03ee ("libcamera: pipeline: Move tuning file override handling to IPAProxy")
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/ipa_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/ipa_proxy.cpp b/src/libcamera/ipa_proxy.cpp index 25f772a4..9907b961 100644 --- a/src/libcamera/ipa_proxy.cpp +++ b/src/libcamera/ipa_proxy.cpp @@ -115,7 +115,7 @@ std::string IPAProxy::configurationFile(const std::string &name, ipaEnvName = "LIBCAMERA_" + ipaEnvName + "_TUNING_FILE"; char const *configFromEnv = utils::secure_getenv(ipaEnvName.c_str()); - if (configFromEnv && *configFromEnv == '\0') + if (configFromEnv && *configFromEnv != '\0') return { configFromEnv }; struct stat statbuf; |