V4L2_TYPE_IS_OUTPUT() returns true for V4L2_BUF_TYPE_VIDEO_OVERLAY which definitely belongs to CAPTURE.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -172,7 +172,6 @@ enum v4l2_buf_type { · 171 unmodified lines | ||
| 172 | 172 | #define V4L2_TYPE_IS_OUTPUT(type) \ |
| 173 | 173 | ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \ |
| 174 | 174 | || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \ |
| 175 | − || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \ | |
| 176 | 175 | || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \ |
| 177 | 176 | || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \ |
| 178 | 177 | || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \ |