diff options
| author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2023-11-09 19:29:20 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-11-23 13:57:04 +0300 |
| commit | da8fc26b0b7d6c0cf46695ef717458fa248a71fb (patch) | |
| tree | e33787efa2b8d173b855e24cb2de35d10410d369 /include | |
| parent | 741d0f6b51032a35446ac72ee8a04fcfa938ee2e (diff) | |
| download | linux-da8fc26b0b7d6c0cf46695ef717458fa248a71fb.tar.xz | |
media: videobuf2: Use vb2_get_num_buffers() helper
Stop using queue num_buffers field directly, instead use
vb2_get_num_buffers().
This prepares for the future 'delete buffers' feature where there are
holes in the buffer indices.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
