diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-06-11 15:05:53 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-06-11 15:56:36 +0200 |
commit | d9a468aaac2a58d36d0f65ac54aae29e72f2482a (patch) | |
tree | 31112da96a4280e3963a98e11c9590dce839ecdb | |
parent | c544506e1ad85e21f90ddaf4fe6c75975e8234a1 (diff) |
test: camera: Increase runtime for capture test
Upstream commit 2978a505aaa981b2 ("media: vimc: stream: fix thread state
before sleep") changes the frame rate when capturing from the vimc raw
capture video nodes. The commit changes the frame rate from thousands of
frames per second to to roughly fifty.
The libcamera capture test was written with the assumption that vimc
would keep providing this fast frame rate and ran for a very short time
to decrease the overall run time of tests. This is no longer possible
and the test fails as it can't capture enough frames in its runtime,
increase the runtime to match the new vimc frame rate.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | test/camera/capture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp index 98e71905..7ce247cc 100644 --- a/test/camera/capture.cpp +++ b/test/camera/capture.cpp @@ -115,7 +115,7 @@ protected: EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher(); Timer timer; - timer.start(100); + timer.start(1000); while (timer.isRunning()) dispatcher->processEvents(); |