summaryrefslogtreecommitdiff
path: root/test/v4l2_device/capture_async.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-05-08 17:37:04 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-05-17 20:39:03 +0200
commit4f8ba02bbcf7c0e4f5c99f9ce6b788938f5987ea (patch)
treec4cee149260c42c388749013d11df535b0f6d0c1 /test/v4l2_device/capture_async.cpp
parente1e440aad6f7bff42a6cee106e5bc269af31c2c0 (diff)
test: v4l2_device: Allow each test to specify which device and entity to test
Prepare for different tests which implements V4L2DeviceTest to specify which media device and entity they wish to test. There is no functional changes, all tests still use vivid to perform there tests. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_device/capture_async.cpp')
-rw-r--r--test/v4l2_device/capture_async.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_device/capture_async.cpp b/test/v4l2_device/capture_async.cpp
index 2a41b11e..fd428ff9 100644
--- a/test/v4l2_device/capture_async.cpp
+++ b/test/v4l2_device/capture_async.cpp
@@ -18,7 +18,7 @@ class CaptureAsyncTest : public V4L2DeviceTest
{
public:
CaptureAsyncTest()
- : frames(0){};
+ : V4L2DeviceTest("vivid", "vivid-000-vid-cap"), frames(0) {}
void receiveBuffer(Buffer *buffer)
{