Clone dev->dev_fd to provide buf_list->dev_fd

This commit is contained in:
Kamil Trzcinski
2022-04-11 19:00:06 +02:00
parent 2f3f4b4653
commit 753e9d4255
4 changed files with 23 additions and 12 deletions

View File

@ -23,6 +23,7 @@ typedef struct device_v4l2_s {
} device_v4l2_t;
typedef struct buffer_list_v4l2_s {
int dev_fd;
bool do_mplanes;
int type;
} buffer_list_v4l2_t;