Commit 795ba031 authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado
Browse files

debug: Dump frames during stop()

parent f14d4560
......@@ -836,8 +836,10 @@ void RkISP1Frames::dumpFrames()
void PipelineHandlerRkISP1::stop(Camera *camera)
{
RkISP1CameraData *data = cameraData(camera);
RkISP1Frames info = data->frameInfo_;
int ret;
info.dumpFrames();
isp_->setFrameStartEnabled(false);
data->ipa_->stop();
......@@ -855,8 +857,10 @@ void PipelineHandlerRkISP1::stop(Camera *camera)
LOG(RkISP1, Warning)
<< "Failed to stop parameters for " << camera->id();
info.dumpFrames();
ASSERT(data->queuedRequests_.empty());
data->frameInfo_.clear();
info.dumpFrames();
freeBuffers(camera);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment