summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/v4l2_m2mdevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/v4l2_m2mdevice.cpp')
-rw-r--r--test/v4l2_videodevice/v4l2_m2mdevice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/v4l2_videodevice/v4l2_m2mdevice.cpp b/test/v4l2_videodevice/v4l2_m2mdevice.cpp
index 203afc4f..d20e5dfc 100644
--- a/test/v4l2_videodevice/v4l2_m2mdevice.cpp
+++ b/test/v4l2_videodevice/v4l2_m2mdevice.cpp
@@ -112,15 +112,15 @@ protected:
return TestFail;
}
- ret = capture->exportBuffers(bufferCount, &captureBuffers_);
+ ret = capture->allocateBuffers(bufferCount, &captureBuffers_);
if (ret < 0) {
- cerr << "Failed to export Capture Buffers" << endl;
+ cerr << "Failed to allocate Capture Buffers" << endl;
return TestFail;
}
- ret = output->exportBuffers(bufferCount, &outputBuffers_);
+ ret = output->allocateBuffers(bufferCount, &outputBuffers_);
if (ret < 0) {
- cerr << "Failed to export Output Buffers" << endl;
+ cerr << "Failed to allocate Output Buffers" << endl;
return TestFail;
}