diff options
-rw-r--r-- | src/libcamera/v4l2_device.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcamera/v4l2_device.cpp b/src/libcamera/v4l2_device.cpp index 4cc4a6d6..d394632d 100644 --- a/src/libcamera/v4l2_device.cpp +++ b/src/libcamera/v4l2_device.cpp @@ -737,10 +737,9 @@ int V4L2Device::releaseBuffers() { LOG(V4L2, Debug) << "Releasing bufferPool"; - requestBuffers(0); bufferPool_ = nullptr; - return 0; + return requestBuffers(0); } /** |