summaryrefslogtreecommitdiff
path: root/test/v4l2_device
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_device')
-rw-r--r--test/v4l2_device/v4l2_device_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/v4l2_device/v4l2_device_test.cpp b/test/v4l2_device/v4l2_device_test.cpp
index 4225291b..833038d5 100644
--- a/test/v4l2_device/v4l2_device_test.cpp
+++ b/test/v4l2_device/v4l2_device_test.cpp
@@ -46,8 +46,6 @@ int V4L2DeviceTest::init()
if (!media_)
return TestSkip;
- media_->acquire();
-
MediaEntity *entity = media_->getEntityByName("vivid-000-vid-cap");
if (!entity)
return TestSkip;
@@ -61,8 +59,6 @@ int V4L2DeviceTest::init()
void V4L2DeviceTest::cleanup()
{
- media_->release();
-
capture_->streamOff();
capture_->releaseBuffers();
capture_->close();