diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2021-04-12 13:02:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-08 12:06:55 +0200 |
commit | c9cbf021c82c3fa5b0beaa7d6e7f3f5706aeabfa (patch) | |
tree | f3f58c9e9c00d585477dccfddf3ac60a269f6b96 /include/media/hevc-ctrls.h | |
parent | 2d8b2a6431b38f4cb4046636117940b0cb0b3ecf (diff) |
media: vivid: use vb2_queue_change_type
Use the new vb2_queue_change_type() function in .vidioc_reqbufs and
.vidioc_create_bufs instead of changing the queue type manually in
vidioc_s_fmt_vbi_cap() and vidioc_s_fmt_sliced_vbi_cap().
This allows for a more consistent behavior, as .vidioc_reqbufs and
.vidioc_create_bufs are when the queue will become "busy".
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media/hevc-ctrls.h')
0 files changed, 0 insertions, 0 deletions