diff options
| author | Hans Verkuil <[email protected]> | 2022-03-06 12:29:11 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-03-07 17:21:53 +0100 |
| commit | 25e94139218c0293b4375233c14f2256d7dcfaa8 (patch) | |
| tree | 25f12a439a4ca0b8db02e199443bef5fb624deed /tools/perf/scripts/python/bin | |
| parent | 9ef9abf4ff57aaedd661622f7d008dd71ece1ffb (diff) | |
ivtv: fix incorrect device_caps for ivtvfb
The VIDIOC_G_FBUF and related overlay ioctls no longer worked (-ENOTTY was
returned).
The root cause was the introduction of the caps field in ivtv-driver.h.
While loading the ivtvfb module would update the video_device device_caps
field with V4L2_CAP_VIDEO_OUTPUT_OVERLAY it would not update that caps
field, and that's what the overlay ioctls would look at.
It's a bad idea to keep information in two places, so drop the caps field
and only use vdev.device_caps.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: Martin Dauskardt <[email protected]>
Fixes: 2161536516ed (media: media/pci: set device_caps in struct video_device)
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions