Implement starving architecture of capture buffers

This commit is contained in:
Kamil Trzcinski
2022-04-06 17:05:14 +02:00
parent a387f4d70c
commit 19ba30d4ea
2 changed files with 8 additions and 7 deletions

View File

@ -54,11 +54,6 @@ buffer_t *buffer_open(const char *name, buffer_list_t *buf_list, int index) {
buf->dma_fd = v4l2_exp.fd;
}
if (buf_list->do_capture && buf_list->do_mmap) {
buf->used = 0;
buffer_consumed(buf, "capture-enqueue");
}
return buf;
error: