diff options
author | Benjamin Gaignard | 2023-11-09 17:34:58 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2023-11-23 12:37:17 +0100 |
commit | 4545ca51dd5bd1a652d514a5de9e8ec97579a5b1 (patch) | |
tree | 0bbb00efdce7115ed98ee98d3e5356e6a0aa7f35 /include/media | |
parent | 7e17d44d61921cab8e52cb30cc082e3ee96abddd (diff) |
media: usb: usbtv: Stop direct calls to queue num_buffers field
Use vb2_get_num_buffers() to avoid using queue num_buffers field directly.
This allows us to change how the number of buffers is computed in the
future.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions