v4l2: use a separate flag to skip the first buffer

The buf.sequence value might stay to 0 (v4l2loopback)
This commit is contained in:
Wim Taymans 2024-11-07 15:36:18 +01:00
parent cba2fad86b
commit 4c487ea59d
2 changed files with 7 additions and 2 deletions

View file

@ -75,6 +75,7 @@ struct port {
bool alloc_buffers;
bool probed_expbuf;
bool have_expbuf;
bool first_buffer;
uint32_t max_buffers;
bool next_fmtdesc;