summaryrefslogtreecommitdiff
path: root/src/libcamera/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/camera.cpp')
-rw-r--r--src/libcamera/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index 1f307654..61d3e821 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -683,7 +683,7 @@ int Camera::configure(CameraConfiguration *config)
* Allocate buffer objects in the pool.
* Memory will be allocated and assigned later.
*/
- stream->bufferPool().createBuffers(cfg.bufferCount);
+ stream->createBuffers(cfg.bufferCount);
}
state_ = CameraConfigured;
@@ -744,7 +744,7 @@ int Camera::freeBuffers()
* All mappings must be destroyed before buffers can be freed
* by the V4L2 device that has allocated them.
*/
- stream->bufferPool().destroyBuffers();
+ stream->destroyBuffers();
}
state_ = CameraConfigured;