mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 16:35:06 +03:00
v4l2: v4l2_camera: Add isRunning()
Add a method isRunning() to V4L2Camera so that V4L2CameraProxy can use it for checks. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
c857ae3c89
commit
d45d53cde0
2 changed files with 7 additions and 0 deletions
|
@ -57,6 +57,8 @@ public:
|
|||
|
||||
int qbuf(unsigned int index);
|
||||
|
||||
bool isRunning();
|
||||
|
||||
Semaphore bufferSema_;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue