Skip to content

Commit 2092f0d

Browse files
wensmchehab
authored andcommitted
media: docs: vidioc-dqbuf: State all remaining fields are filled by driver
The specification for VIDIOC_DQBUF is slightly ambiguous on what fields of |struct v4l2_buffer| is filled by the driver. Reword it so things are clear: the driver fills in all remaining fields not specified to be filled in by userspace applications. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
1 parent 57c1d5d commit 2092f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Applications call the ``VIDIOC_DQBUF`` ioctl to dequeue a filled
125125
queue. They just set the ``type``, ``memory`` and ``reserved`` fields of
126126
a struct :c:type:`v4l2_buffer` as above, when
127127
``VIDIOC_DQBUF`` is called with a pointer to this structure the driver
128-
fills the remaining fields or returns an error code. The driver may also
128+
fills all remaining fields or returns an error code. The driver may also
129129
set ``V4L2_BUF_FLAG_ERROR`` in the ``flags`` field. It indicates a
130130
non-critical (recoverable) streaming error. In such case the application
131131
may continue as normal, but should be aware that data in the dequeued

0 commit comments

Comments
 (0)