mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-22 20:30:58 +02:00
media: videobuf2: core: Rename min_buffers_needed field in vb2_queue
Rename min_buffers_needed into min_queued_buffers and update the documentation about it. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: Drop the change where min_queued_buffers + 1 buffers would be] [hverkuil: allocated. Now this patch only renames this field instead of making] [hverkuil: a functional change as well.] [hverkuil: Renamed 3 remaining min_buffers_needed occurrences.]
This commit is contained in:
committed by
CrazyCat
parent
ab8869dd23
commit
4657721876
@@ -3113,7 +3113,7 @@ static int vdev_init(struct bttv *btv, struct video_device *vfd,
|
||||
q->gfp_flags = __GFP_DMA32;
|
||||
q->buf_struct_size = sizeof(struct bttv_buffer);
|
||||
q->lock = &btv->lock;
|
||||
q->min_buffers_needed = 2;
|
||||
q->min_queued_buffers = 2;
|
||||
q->dev = &btv->c.pci->dev;
|
||||
err = vb2_queue_init(q);
|
||||
if (err)
|
||||
|
Reference in New Issue
Block a user