summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 7a54c1fd..fd5adf6f 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -635,7 +635,7 @@ int PipelineHandlerIPU3::allocateBuffers(Camera *camera,
* of buffers as the active ones.
*/
if (!outStream->active_) {
- bufferCount = vfStream->bufferPool().count();
+ bufferCount = vfStream->configuration().bufferCount;
outStream->device_->pool->createBuffers(bufferCount);
ret = imgu->exportBuffers(outStream->device_,
outStream->device_->pool);
@@ -644,7 +644,7 @@ int PipelineHandlerIPU3::allocateBuffers(Camera *camera,
}
if (!vfStream->active_) {
- bufferCount = outStream->bufferPool().count();
+ bufferCount = outStream->configuration().bufferCount;
vfStream->device_->pool->createBuffers(bufferCount);
ret = imgu->exportBuffers(vfStream->device_,
vfStream->device_->pool);