libcamera: pipeline: rkisp1: Stop IPA before streams
The IPA should be stopped before stopping the streams in order to avoid a "No BufferCache available to queue" issue. This issue happened while running lc-compliance. Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
committed by
Niklas Söderlund
parent
58f558fdda
commit
330ea9d946
@@ -827,6 +827,8 @@ void PipelineHandlerRkISP1::stop(Camera *camera)
|
||||
|
||||
isp_->setFrameStartEnabled(false);
|
||||
|
||||
data->ipa_->stop();
|
||||
|
||||
selfPath_.stop();
|
||||
mainPath_.stop();
|
||||
|
||||
@@ -840,8 +842,6 @@ void PipelineHandlerRkISP1::stop(Camera *camera)
|
||||
LOG(RkISP1, Warning)
|
||||
<< "Failed to stop parameters for " << camera->id();
|
||||
|
||||
data->ipa_->stop();
|
||||
|
||||
data->frameInfo_.clear();
|
||||
|
||||
freeBuffers(camera);
|
||||
|
||||
Reference in New Issue
Block a user