diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-01-26 18:17:06 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-05 11:10:29 +0100 |
commit | a3c75bba84bac0a4f8a4c815cc7dcd9a72116c59 (patch) | |
tree | f5fa09e45940991a617a443cf610c8fc1cb12dd8 /utils/raspberrypi/ctt/ctt_config_example.json | |
parent | 5b60b689c14bcb84ee034bdf400a75c0b63ef999 (diff) |
cam: Only queue the exact number of requests asked for
The cam option --capture=N is suppose to only capture N requests. But if
the processing done for each request is large (such as writing it to a
slow disk) the current implementation could queue more than N requests
before the exit condition is detected and capturing stopped.
Solve this by only queueing N requests while still waiting for N
requests to complete before exiting.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_config_example.json')
0 files changed, 0 insertions, 0 deletions