pipewire/spa/plugins/v4l2
Wim Taymans 853a46120e v4l2: Improve format and control enumeration
Use dynamic pod builder so that we can also build complex formats.

Make sure we zero the format before we parse it or else we end up with
potentially uninitialized values.

When ENUM_FRAMESIZES or VIDIOC_ENUM_FRAMEINTERVALS return EINVAL for the
first index, make a dummy result and continue with that. This will
trigger an intersect withe filter so that we end up with something valid
instead of nothing.

Handle 0 framerates without crashing.

See #4063
2024-07-09 14:14:42 +02:00
..
meson.build
v4l2-device.c v4l2: fix string size 2024-06-06 16:25:24 +02:00
v4l2-source.c v4l2: Improve format and control enumeration 2024-07-09 14:14:42 +02:00
v4l2-udev.c
v4l2-utils.c v4l2: Improve format and control enumeration 2024-07-09 14:14:42 +02:00
v4l2.c
v4l2.h