Skip to content

Commit d20dcbb

Browse files
Jian-Jia Sumchehab
authored andcommitted
media: v4l2-dev/ioctl: Fix document for VIDIOC_QUERYCAP
V4L2_CAP_VIDEO_M2M is documented as 0x00004000 V4L2_CAP_VIDEO_M2M_MPLANE is documented as 0x00008000 This is different from the definition in include/uapi/linux/videodev2.h Signed-off-by: Jian-Jia Su <[email protected]> Reviewed-by: Helen Koike <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 2f50116 commit d20dcbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/userspace-api/media/v4l/vidioc-querycap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ specification the ioctl returns an ``EINVAL`` error code.
168168
- The device supports the :ref:`multi-planar API <planar-apis>`
169169
through the :ref:`Video Output <output>` interface.
170170
* - ``V4L2_CAP_VIDEO_M2M``
171-
- 0x00004000
171+
- 0x00008000
172172
- The device supports the single-planar API through the Video
173173
Memory-To-Memory interface.
174174
* - ``V4L2_CAP_VIDEO_M2M_MPLANE``
175-
- 0x00008000
175+
- 0x00004000
176176
- The device supports the :ref:`multi-planar API <planar-apis>`
177177
through the Video Memory-To-Memory interface.
178178
* - ``V4L2_CAP_VIDEO_OVERLAY``

0 commit comments

Comments
 (0)