summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-04-09 20:41:40 +0200
committerJacopo Mondi <jacopo@jmondi.org>2019-04-18 15:36:37 +0200
commite671485989cc308998db98ba17fc35224aaf5e14 (patch)
treeef65b7f3c24b3e9c0c6fedf16de6561f00040f83 /src/qcam/viewfinder.cpp
parent571d16b539df355a572a98bcbbdc2f9f1844a24d (diff)
libcamera: camera: Validate Request before queueing it
Extend the Request::prepare() operation to validate the request before preparing it. Return an error if the request is invalid, which for now is limited to ensuring that the request contains at least one buffer. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/viewfinder.cpp')
0 files changed, 0 insertions, 0 deletions