diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-06-28 18:00:40 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-06-29 09:39:36 +0200 |
commit | b7dfefb882b67757a00a4bed015c3a51f98c6ce0 (patch) | |
tree | ef04b93a98a22682a70ec2e2e0c2c55081f4ea7a /src/qcam/assets/feathericons/thumbs-down.svg | |
parent | a3e6c2b3d9f4ede89328622fd1087029d0576b76 (diff) |
libcamera: raspberrypi: Refuse invalid roles configuration
The generateConfiguration() implementation does not check if the
requested list of roles can actually be satisfied. The camera API
documentation prescribes the function shall fail in that case, instead
of silently adjust the returned configuration.
Fix this by implementing the same logic as the validate() function
implements, as the pipeline handler supports one raw stream and up to
two output streams.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/assets/feathericons/thumbs-down.svg')
0 files changed, 0 insertions, 0 deletions