diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-03-07 10:30:23 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-03-07 21:55:05 +0000 |
commit | 471cbc0ef7098c720a7395fa2f90cb3acdec7c4c (patch) | |
tree | 5546c87ba55d75ff7f6a17c5686f781ba69a4041 /test/media_device | |
parent | 9648e859946bfd5e2eb30cf2655777670d24ccfb (diff) |
pipeline: raspberrypi: Add a Unicam timeout override config options
Add a new parameter to the pipeline handler config file named
"unicam_timeout_value_ms" to allow users to override the automatically
computed Unicam timeout value.
This value is given in milliseconds, and setting a value of 0 (the
default value) disables the override.
An example use of this parameter would be if an application configured a
RAW stream, and provides buffers for the stream on every request. If the
application holds off on sending requests for a particular reason (e.g.
a timelapse use case), then we will possibly hit the watchdog timeout as
it is only a small multiple of the frame length. This override allows an
application to select a larger value with the knowledge that it may
space requests longer than the calculated timeout value.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/media_device')
0 files changed, 0 insertions, 0 deletions