summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/pipeline_handler.cpp')
-rw-r--r--src/libcamera/pipeline_handler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index ee769487..b5a85749 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -116,6 +116,7 @@ void PipelineHandlerFactory::registerType(const std::string &name,
return;
}
+ LOG(Debug) << "Registered pipeline handler: \"" << name << "\"";
factories[name] = factory;
}
@@ -145,8 +146,10 @@ PipelineHandler *PipelineHandlerFactory::create(const std::string &name,
PipelineHandler *pipe = it->second->create();
- if (pipe->match(enumerator))
+ if (pipe->match(enumerator)) {
+ LOG(Debug) << "Pipeline handler \"" << name << "\" matched";
return pipe;
+ }
delete pipe;
return nullptr;