History

media: uapi: v4l: Fix V4L2_TYPE_IS_OUTPUT condition

V4L2_TYPE_IS_OUTPUT() returns true for V4L2_BUF_TYPE_VIDEO_OVERLAY which definitely belongs to CAPTURE.

Nas Chung committed 2 years ago

Commit f81f69a1 parent 8e172e31 file · +0 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/videodev2.h+0−1
@@ -172,7 +172,6 @@ enum v4l2_buf_type { · 171 unmodified lines
172172 #define V4L2_TYPE_IS_OUTPUT(type) \
173173 ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \
174174 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \
175− || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
176175 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
177176 || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
178177 || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \