Make buffer_list_open to accept const char *path

This commit is contained in:
Kamil Trzcinski
2022-04-11 19:04:38 +02:00
parent 753e9d4255
commit a3e8ef1e24
10 changed files with 14 additions and 11 deletions

View File

@ -75,7 +75,7 @@ int device_open_buffer_list(device_t *dev, bool do_capture, unsigned width, unsi
sprintf(name, "%s:output", dev->name);
}
*buf_list = buffer_list_open(name, dev, width, height, format, bytesperline, nbufs, do_capture, do_mmap);
*buf_list = buffer_list_open(name, NULL, dev, width, height, format, bytesperline, nbufs, do_capture, do_mmap);
if (!*buf_list) {
goto error;
}