mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
v4l2: use 32 buffers max
We don't yet probe the number of available buffers and so we might claim to support 64 buffers but then fail to allocate that many buffers in _use_buffers().
This commit is contained in:
parent
5b3336ce3e
commit
c44d655516
3 changed files with 9 additions and 3 deletions
|
|
@ -28,7 +28,8 @@ struct spa_v4l2_device {
|
|||
struct spa_log *log;
|
||||
int fd;
|
||||
struct v4l2_capability cap;
|
||||
bool active;
|
||||
unsigned int active:1;
|
||||
unsigned int have_format:1;
|
||||
};
|
||||
|
||||
int spa_v4l2_open(struct spa_v4l2_device *dev, const char *path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue