diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-07-09 22:03:54 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-07-14 16:00:38 +0300 |
commit | e8e80bfa8d6421057ad145f93659309586e1200f (patch) | |
tree | 919cdcc08d41ef269c14cf8728f401e48fd14058 /test/controls | |
parent | c4b9ccb45a9f9a47e252d1ce4b5d55211a22a389 (diff) |
libcamera: camera: Don't move buffers away from request at completion
For a historical reason that isn't fully understood, the request
completion handler in the Camera class moves all buffers away from the
request's buffer map to a local variable before emitting the request
completion signal. There's no reason to do so, and it makes it
impossible for requests to access buffers in their destructor. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/controls')
0 files changed, 0 insertions, 0 deletions