diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-05-12 09:47:43 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-05-18 11:45:31 +0100 |
commit | f1b7b68d209aa2fb074f39be7ca0d7e2c9edd631 (patch) | |
tree | f92f410b4a14cbb2858c734bfe2108f999b521c3 /test/timer-thread.cpp | |
parent | 193ca8c353a42334f65ddfc988a105a47bca3547 (diff) |
pipeline: raspberrypi: Store timestamp in the correct Request metadata
Write the controls::SensorTimestamp value in the Request metadata when
the request is popped from the queue ready to run the pipeline. This
ensures that the timestamp is written to the correct Request item,
which may not be at the top of the queue when the Unicam buffer dequeue
occurs.
Fixes: fcfb1dc02a6b ("libcamera: raspberry: Report sensor timestamp")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/timer-thread.cpp')
0 files changed, 0 insertions, 0 deletions