summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/stream_on_off.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/stream_on_off.cpp')
-rw-r--r--test/v4l2_videodevice/stream_on_off.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/stream_on_off.cpp b/test/v4l2_videodevice/stream_on_off.cpp
index 552df096..ce48310a 100644
--- a/test/v4l2_videodevice/stream_on_off.cpp
+++ b/test/v4l2_videodevice/stream_on_off.cpp
@@ -17,7 +17,7 @@ protected:
{
const unsigned int bufferCount = 8;
- int ret = capture_->exportBuffers(bufferCount, &buffers_);
+ int ret = capture_->allocateBuffers(bufferCount, &buffers_);
if (ret < 0)
return TestFail;