summaryrefslogtreecommitdiff
path: root/src/cam/capture.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-04 04:08:26 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-10 23:58:54 +0300
commitf13d4b66f2ae8dab9b3aca40347d2c2794427f57 (patch)
tree8cbd81a1acb9b3f290d7f93af751de855dbb06fc /src/cam/capture.cpp
parent5c18c4172033ebd8e85a4e8db727b1b46eede8c3 (diff)
libcamera: pipeline: simple: Support multiple capture video nodes
The simple pipeline handler rejects devices that have multiple capture video nodes. There's no real reason to do so, a more dynamic approach is possible as the pipeline handler already locates the video device by walking the media graph. Rework the match sequence by skipping any check on the video nodes, and create the V4L2VideoDevice for the media entity at the end of the pipeline when initializing the camera data. The V4L2VideoDevice instances are managed by the pipeline handler itself, to avoid creating separate instances in the camera data if multiple sensors are routed to the same video device. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Andrey Konovalov <andrey.konovalov@linaro.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/cam/capture.cpp')
0 files changed, 0 insertions, 0 deletions