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

@ -1,7 +1,7 @@
#ifdef USE_LIBCAMERA
#include "libcamera.hh"
int libcamera_buffer_list_open(buffer_list_t *buf_list, unsigned width, unsigned height, unsigned format, unsigned bytesperline, int nbufs)
int libcamera_buffer_list_open(buffer_list_t *buf_list, const char *path, unsigned width, unsigned height, unsigned format, unsigned bytesperline, int nbufs)
{
int got_bufs = 0;