summaryrefslogtreecommitdiff
path: root/include/media/videobuf2-core.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 19:34:58 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 14:37:17 +0300
commit4545ca51dd5bd1a652d514a5de9e8ec97579a5b1 (patch)
tree0bbb00efdce7115ed98ee98d3e5356e6a0aa7f35 /include/media/videobuf2-core.h
parent7e17d44d61921cab8e52cb30cc082e3ee96abddd (diff)
downloadlinux-4545ca51dd5bd1a652d514a5de9e8ec97579a5b1.tar.xz
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/videobuf2-core.h')
0 files changed, 0 insertions, 0 deletions