mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
libcamera: pipeline_handler: Enable silent configuration file lookup
The PipelineHandler::configurationFile() function prints an error message when no configuration file is found. It can be useful for pipeline handlers to silence the lookup operation and handle errors themselves. Add a silent parameter to the function to enable this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Julien Vuillaumier <julien.vuillaumier@nxp.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
2ae7b2ff74
commit
31a7378c87
2 changed files with 10 additions and 5 deletions
|
@ -63,7 +63,8 @@ public:
|
|||
void cancelRequest(Request *request);
|
||||
|
||||
std::string configurationFile(const std::string &subdir,
|
||||
const std::string &name) const;
|
||||
const std::string &name,
|
||||
bool silent = false) const;
|
||||
|
||||
const char *name() const { return name_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue