diff options
author | Harvey Yang <chenghaoyang@chromium.org> | 2024-10-22 07:43:38 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-11-20 10:47:27 +0000 |
commit | 670bbf3dc2b1099bd12cdcea0e63a26637db6d00 (patch) | |
tree | a51508a15ce481ee135f246e520f99138fea2fba /test/v4l2_videodevice/capture_async.cpp | |
parent | 168488275aacc804ffd264187dca8b3e48b21d9e (diff) |
libcamera: Remove PipelineHandler Fatal check of non-empty MediaDevices
The Fatal check of having at least one MediaDevice was to prevent
pipeline handler implementations searching and owning media devices with
custom conventions, instead of using the base function
|acquireMediaDevice|. It also has the assumption that there's at least
one media device to make a camera work.
Now that the assumption will be broken by the virtual pipeline handler
added in the following patches, and developers should be aware of the
available functions in the base class to handle media devices, the Fatal
check is no longer needed.
Signed-off-by: Harvey Yang <chenghaoyang@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/capture_async.cpp')
0 files changed, 0 insertions, 0 deletions