[PATCH v4 01/20] pipeline: rkisp1: Fix scope of dewarper stop() exit action
Stefan Klug
stefan.klug at ideasonboard.com
Mon Dec 16 16:40:41 CET 2024
Move the definition of the dewarper stop() action into the scope were
the corresponding start() happens.
Fixes: 12b553d691d4 ("libcamera: rkisp1: Plumb the dw100 dewarper as V4L2M2M converter")
Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
---
Changes in v4:
- Changed title to pipeline:
Changes in v3:
- Removed blank line from commit message
---
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 908724e20975..8b92fdebdd63 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -1044,8 +1044,8 @@ int PipelineHandlerRkISP1::start(Camera *camera, [[maybe_unused]] const ControlL
LOG(RkISP1, Error) << "Failed to start dewarper";
return ret;
}
+ actions += [&]() { dewarper_->stop(); };
}
- actions += [&]() { dewarper_->stop(); };
}
if (data->mainPath_->isEnabled()) {
--
2.43.0
More information about the libcamera-devel
mailing list