v4l2: improve debug

Add device path to debug lines.
This commit is contained in:
Wim Taymans 2022-11-14 11:21:24 +01:00
parent e0c9f87d78
commit cfb226b0fb
2 changed files with 6 additions and 4 deletions

View file

@ -41,6 +41,7 @@ struct spa_v4l2_device {
struct v4l2_capability cap;
unsigned int active:1;
unsigned int have_format:1;
char path[64];
};
int spa_v4l2_open(struct spa_v4l2_device *dev, const char *path);