diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-04-09 20:41:40 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-04-18 15:36:37 +0200 |
commit | e671485989cc308998db98ba17fc35224aaf5e14 (patch) | |
tree | ef65b7f3c24b3e9c0c6fedf16de6561f00040f83 /src/qcam/viewfinder.h | |
parent | 571d16b539df355a572a98bcbbdc2f9f1844a24d (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.h')
0 files changed, 0 insertions, 0 deletions