summaryrefslogtreecommitdiff
path: root/test/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest')
-rw-r--r--test/libtest/buffer_source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libtest/buffer_source.cpp b/test/libtest/buffer_source.cpp
index 0c33200b..26d2764d 100644
--- a/test/libtest/buffer_source.cpp
+++ b/test/libtest/buffer_source.cpp
@@ -76,8 +76,8 @@ int BufferSource::allocate(const StreamConfiguration &config)
return TestFail;
}
- if (video->exportBuffers(config.bufferCount, &buffers_) < 0) {
- std::cout << "Failed to export buffers" << std::endl;
+ if (video->allocateBuffers(config.bufferCount, &buffers_) < 0) {
+ std::cout << "Failed to allocate buffers" << std::endl;
return TestFail;
}