libcamera: pipeline_handler: Rename handlers() method to factories()

The PipelineHandlerFactory::handlers() static method returns a list of
factories, not a list of handlers. Rename it accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2019-01-16 18:23:43 +02:00
parent 619d312462
commit 6ee4050182
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ int CameraManager::start()
* file and only fallback on all handlers if there is no
* configuration file.
*/
std::vector<PipelineHandlerFactory *> &handlers = PipelineHandlerFactory::handlers();
std::vector<PipelineHandlerFactory *> &factories = PipelineHandlerFactory::factories();
for (PipelineHandlerFactory *factory : handlers) {
for (PipelineHandlerFactory *factory : factories) {
/*
* Try each pipeline handler until it exhaust
* all pipelines it can provide.