pipeline: rkisp1: Fix scope of dewarper stop() exit action
Move the definition of the dewarper stop() action into the scope were
the corresponding start() happens.
Fixes: 12b553d691
("libcamera: rkisp1: Plumb the dw100 dewarper as V4L2M2M converter")
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
This commit is contained in:
parent
e9a876acc6
commit
479e8c851c
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue