summaryrefslogtreecommitdiff
path: root/src/cam/buffer_writer.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-28 18:19:37 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-01 20:46:43 +0200
commit54e6a3eb1f84a6020e6b24b61f37344ba6eecb7d (patch)
tree8bb6c88ff078e0ffdec11c5af67ff7b9fa18425c /src/cam/buffer_writer.cpp
parentb2c06cf40975398eb56be74fa3cd5d1b7b13cb50 (diff)
cam: Don't requeue requests when stopping stream
When stopping the stream all pending requests are cancelled, resulting in the request completion signal being emitted with the request status set appropriately. Check the request status in the request completion slot and skip requeuing the request if it has been cancelled. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/cam/buffer_writer.cpp')
0 files changed, 0 insertions, 0 deletions