diff options
Diffstat (limited to 'test/v4l2_videodevice/request_buffers.cpp')
-rw-r--r-- | test/v4l2_videodevice/request_buffers.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/v4l2_videodevice/request_buffers.cpp b/test/v4l2_videodevice/request_buffers.cpp index c4aedf7b..1dd65b05 100644 --- a/test/v4l2_videodevice/request_buffers.cpp +++ b/test/v4l2_videodevice/request_buffers.cpp @@ -16,17 +16,10 @@ public: protected: int run() { - /* - * TODO: - * Test invalid requests - * Test different buffer allocations - */ const unsigned int bufferCount = 8; - pool_.createBuffers(bufferCount); - - int ret = capture_->exportBuffers(&pool_); - if (ret) + int ret = capture_->exportBuffers(bufferCount, &buffers_); + if (ret != bufferCount) return TestFail; return TestPass; |