On slower machines, a 10s timeout to capture frames with vimc can be too short and cause test failures. Make the timeout proportional to the number of frames expected to be captured, using a conservative low estimate of the frame rate at 2fps. This does not increase the test time if the vimc driver is fast enough to produce frames. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> |
||
---|---|---|
.. | ||
buffer_cache.cpp | ||
buffer_sharing.cpp | ||
capture_async.cpp | ||
controls.cpp | ||
dequeue_watchdog.cpp | ||
double_open.cpp | ||
formats.cpp | ||
meson.build | ||
request_buffers.cpp | ||
stream_on_off.cpp | ||
v4l2_m2mdevice.cpp | ||
v4l2_videodevice_test.cpp | ||
v4l2_videodevice_test.h |