OSDN Git Service

media: v4l: uAPI: V4L2_BUF_TYPE_META_OUTPUT is an output buffer type
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 14 Jan 2019 14:01:54 +0000 (09:01 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 18:38:48 +0000 (13:38 -0500)
commit4b837c6d7ee771f68a30f362c9f68171a95be222
treed3ee386305f83126086a1116cd2f3561af6a1f81
parent6f7f1bff2d9896fc743e7e110e9ab288f5ad7cbf
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>
include/uapi/linux/videodev2.h