diff options
author | Daniel Scally <djrscally@gmail.com> | 2022-03-03 23:49:50 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-03-15 17:20:59 +0000 |
commit | 2cde99032f2495c0d38c38c5e826320d0e9823eb (patch) | |
tree | dc9ec86773daf4b996fd61e0ddf6d4a1cf0fed0e /src/qcam/assets/feathericons/film.svg | |
parent | ccc28b8b30e57c5f1ebaa1b7bf79a61910b4e139 (diff) |
libcamera: media_device: Handle ancillary links in populateLinks()
The populateLinks() function can't currently handle ancillary links
which causes an error to be thrown in process() when the MediaObject
cannot be cast to a MediaPad.
Add explicit handling for the different link types, creating either
pad-2-pad links or else storing the pointer to the ancillary device
MediaEntity in the ancillaryEntities_ member of the primary.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/film.svg')
0 files changed, 0 insertions, 0 deletions