summaryrefslogtreecommitdiff
path: root/utils/hooks/pre-push
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-03-25 09:09:01 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-03-28 02:18:23 +0300
commit1fb71a6ffa4c95661ecb5bf34e14bc80e47fc934 (patch)
tree1dc979608dfcbecb6aed5ac528d6f9c80affc1d1 /utils/hooks/pre-push
parent988ec3f417886cc8202ccc7932ac2f95e89db061 (diff)
libcamera: v4l2_videodevice: Do not allow buffer queueing in stopping state
If the device is in the process of being stopped (i.e. Stopping state), any call to queueBuffer() must fail. This is to ensure the integrity of the buffer queue, as it gets cleared at the end of streamOff. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/hooks/pre-push')
0 files changed, 0 insertions, 0 deletions