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> |
||
---|---|---|
.. | ||
buffer_source.cpp | ||
buffer_source.h | ||
camera_test.cpp | ||
camera_test.h | ||
meson.build | ||
test.cpp | ||
test.h |