diff options
author | Helen Koike <helen.koike@collabora.com> | 2019-06-25 13:23:53 -0300 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-06-25 20:40:41 +0100 |
commit | 059ed93bebbac5710fffd4714ee20cc02d3212aa (patch) | |
tree | 681f4941498645088fb492d186d2c497e8771e83 /README.md | |
parent | cb21bb33118e4b172d64cd4abb4f19caeb342707 (diff) |
cam: capture: Stop stream when queueRequest() fails
queueRequest() is called after starting the stream.
If it fails, the stream should be stopped, otherwise it can get a
"Device or resource busy" error, due to VIDIOC_REQBUFS ioctls being
called after VIDIOC_STREAMON without VIDIOC_STREAMOFF in-between.
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions