diff options
| author | Benjamin Gaignard <[email protected]> | 2023-11-09 17:34:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-11-23 12:34:23 +0100 |
| commit | e1d2fcf99d7ab03e8928391abc9156d79d60dedd (patch) | |
| tree | bf16e9a86f7dad30d8835cc4cb6c1597874774ac /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 88d9ce34a6aa19620911c4e149d99d40307b9f72 (diff) | |
media: cedrus: 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.
While at it, check the return value of vb2_get_buffer().
Signed-off-by: Benjamin Gaignard <[email protected]>
Reviewed-by: Andrzej Pietrasiewicz <[email protected]>
Acked-by: Paul Kocialkowski <[email protected]>
CC: Maxime Ripard <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions