Simplify v4l2_cap support

This commit is contained in:
Kamil Trzcinski
2022-04-10 10:44:31 +02:00
parent 4d01c86398
commit ca07c62f25
5 changed files with 47 additions and 52 deletions

View File

@@ -13,9 +13,9 @@ typedef struct device_hw_s {
typedef struct device_s {
char *name;
char *path;
char bus_info[64];
int fd;
int subdev_fd;
struct v4l2_capability v4l2_cap;
bool allow_dma;
device_hw_t *hw;