libcamera/test/libtest
Laurent Pinchart 556e03fea7 test: libtest: buffer_source: Close video device right after allocation
There's no need to keep the video device open after allocating buffers,
as V4L2 supports buffer orphaning and the exported buffers will still be
usable. Close the device right after allocation to avoid the need for
delayed cleanups.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-03-18 19:15:18 +02:00
..
buffer_source.cpp test: libtest: buffer_source: Close video device right after allocation 2020-03-18 19:15:18 +02:00
buffer_source.h test: libtest: buffer_source: Close video device right after allocation 2020-03-18 19:15:18 +02:00
camera_test.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
camera_test.h test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
meson.build test: Extract BufferSource class out of camera tests to libtest 2020-03-06 17:45:48 +01:00
test.cpp tests: remove IPA_PROXY_PATH environment variable 2020-03-18 16:17:56 +00:00
test.h libcamera: Remove space between empty curly brackets 2019-11-18 02:27:48 +02:00