Skip to content

Commit 44e8e69

Browse files
Hans Verkuilmchehab
authored andcommitted
[media] videobuf2-core.h: fix comment
The comment for start_streaming that tells the developer with which vb2 state buffers should be returned to vb2 gave the wrong state. Very confusing. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 parent 23cd08c commit 44e8e69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/media/videobuf2-core.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ struct vb2_buffer {
295295
* can return an error if hardware fails, in that case all
296296
* buffers that have been already given by the @buf_queue
297297
* callback are to be returned by the driver by calling
298-
* @vb2_buffer_done(VB2_BUF_STATE_DEQUEUED).
298+
* @vb2_buffer_done(VB2_BUF_STATE_QUEUED).
299299
* If you need a minimum number of buffers before you can
300300
* start streaming, then set @min_buffers_needed in the
301301
* vb2_queue structure. If that is non-zero then

0 commit comments

Comments
 (0)