diff options
author | Harvey Yang <chenghaoyang@chromium.org> | 2023-09-13 15:20:50 +0000 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-09-21 12:44:09 +0200 |
commit | dbe4e0e9457c349ea6a797b62d5f55e15c67f642 (patch) | |
tree | 3d084e7a2c72edf1d5e50c186c581c719137c4ae /test/v4l2_subdevice/list_formats.cpp | |
parent | 9c5eb9237cf6ae170086f0d4d87a025aa052cc9f (diff) |
android: camera_device: Fix requestedStream handling
The Android CameraDevice class adds a sourceStream for each Mapped
stream requested by the framework.
When mapping multiple framework streams to the same sourceStream, the
implementation of CameraDevice::processCaptureRequest wrongly erases the
just added sourceStream from the list of streams to request to
libcamera.
Fix this by adding the stream instead of erasing it.
Fixes: 7ea83eba0df6 ("android: camera_device: Postpone mapped streams handling")
Signed-off-by: Harvey Yang <chenghaoyang@chromium.org>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice/list_formats.cpp')
0 files changed, 0 insertions, 0 deletions