libcamera: request: Add hasPendingBuffers() method
Add method to verify if a request has pending buffers yet to be completed. 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>
This commit is contained in:
parent
7b7c8f06a0
commit
571d16b539
2 changed files with 12 additions and 2 deletions
|
@ -37,6 +37,8 @@ public:
|
|||
|
||||
Status status() const { return status_; }
|
||||
|
||||
bool hasPendingBuffers() const { return !pending_.empty(); }
|
||||
|
||||
private:
|
||||
friend class Camera;
|
||||
friend class PipelineHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue