mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-30 04:40:06 +00:00
Let VIDIOC_ENUM_FRAMEINTERVALS return -EINVAL if userspace queries frame intervals for frame sizes unsupported by the encoder. Fixes the following v4l2-compliance failure: fail: v4l2-test-formats.cpp(123): found frame intervals for invalid size 47x16 fail: v4l2-test-formats.cpp(282): node->codec_mask & STATEFUL_ENCODER test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL [hverkuil: drop incorrect 'For decoder devices, return -ENOTTY.' in the commit log] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> |
||
|---|---|---|
| .. | ||
| coda_regs.h | ||
| coda-bit.c | ||
| coda-common.c | ||
| coda-gdi.c | ||
| coda-h264.c | ||
| coda-jpeg.c | ||
| coda-mpeg2.c | ||
| coda-mpeg4.c | ||
| coda.h | ||
| imx-vdoa.c | ||
| imx-vdoa.h | ||
| Kconfig | ||
| Makefile | ||
| trace.h | ||