libcamera: stream: Make Stream inheritable
In preparation for multiple streams support prepare to allow sub-classing the Stream class by removing the 'final' specifier from the class definition and make its private members protected. 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
7726cba16f
commit
4e1dc9004f
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ private:
|
|||
Size size_;
|
||||
};
|
||||
|
||||
class Stream final
|
||||
class Stream
|
||||
{
|
||||
public:
|
||||
class StillCapture : public StreamUsage
|
||||
|
@ -68,7 +68,7 @@ public:
|
|||
BufferPool &bufferPool() { return bufferPool_; }
|
||||
const StreamConfiguration &configuration() const { return configuration_; }
|
||||
|
||||
private:
|
||||
protected:
|
||||
friend class Camera;
|
||||
|
||||
BufferPool bufferPool_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue