summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/buffer_sharing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/buffer_sharing.cpp')
-rw-r--r--test/v4l2_videodevice/buffer_sharing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/buffer_sharing.cpp b/test/v4l2_videodevice/buffer_sharing.cpp
index fefa969a..14d3055a 100644
--- a/test/v4l2_videodevice/buffer_sharing.cpp
+++ b/test/v4l2_videodevice/buffer_sharing.cpp
@@ -73,7 +73,7 @@ protected:
return TestFail;
}
- ret = capture_->exportBuffers(bufferCount, &buffers_);
+ ret = capture_->allocateBuffers(bufferCount, &buffers_);
if (ret < 0) {
std::cout << "Failed to allocate buffers" << std::endl;
return TestFail;