libcamera: pipeline: Fix LIBCAMERA_<NAME>_TUNING_FILE handling
Inf5da05ed03
("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:f5da05ed03
("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>
This commit is contained in:
parent
32cc6717d2
commit
a7d7bc03e5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue