mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
v4l2: fix compilation on older versions
This commit is contained in:
parent
b6f1935cfb
commit
0e8ea21098
1 changed files with 2 additions and 0 deletions
|
|
@ -1742,7 +1742,9 @@ static int vidioc_reqbufs(struct file *file, int fd, struct v4l2_requestbuffers
|
|||
pw_log_info("count: %u", arg->count);
|
||||
pw_log_info("type: %u", arg->type);
|
||||
pw_log_info("memory: %u", arg->memory);
|
||||
#ifdef V4L2_MEMORY_FLAG_NON_COHERENT
|
||||
pw_log_info("flags: %08x", arg->flags);
|
||||
#endif
|
||||
|
||||
if (arg->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue