diff options
author | Sakari Ailus | 2019-01-14 15:01:54 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2019-01-16 19:38:48 +0100 |
commit | 4b837c6d7ee771f68a30f362c9f68171a95be222 (patch) | |
tree | d3ee386305f83126086a1116cd2f3561af6a1f81 /include/uapi/linux/videodev2.h | |
parent | media: vivid: disable VB2_USERPTR if dma_contig was configured (diff) | |
download | kernel-qcow2-linux-4b837c6d7ee771f68a30f362c9f68171a95be222.tar.gz kernel-qcow2-linux-4b837c6d7ee771f68a30f362c9f68171a95be222.tar.xz kernel-qcow2-linux-4b837c6d7ee771f68a30f362c9f68171a95be222.zip |
media: v4l: uAPI: V4L2_BUF_TYPE_META_OUTPUT is an output buffer type
V4L2_BUF_TYPE_META_OUTPUT was added by commit 72148d1a57e7
("media: v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT") but the patch
missed adding the type to the macro telling whether a given type is an
output type or not. Do that now. Getting this wrong leads to handling the
buffer as a capture buffer in a lot of places.
Fixes: 72148d1a57e7 ("media: v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r-- | include/uapi/linux/videodev2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index d6eed479c3a6..c0c36c165bf4 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -161,7 +161,8 @@ enum v4l2_buf_type { || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \ || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \ || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \ - || (type) == V4L2_BUF_TYPE_SDR_OUTPUT) + || (type) == V4L2_BUF_TYPE_SDR_OUTPUT \ + || (type) == V4L2_BUF_TYPE_META_OUTPUT) enum v4l2_tuner_type { V4L2_TUNER_RADIO = 1, |