pipewire/spa/plugins/v4l2
Wim Taymans 7114e9a31a 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-08-07 10:44:26 +02:00
..
meson.build treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
v4l2-device.c v4l2: fix printf format 2024-04-23 11:16:40 +02:00
v4l2-source.c v4l2: Improve format and control enumeration 2024-08-07 10:44:26 +02:00
v4l2-udev.c spa: v4l2: use a separate watch for each device 2023-09-07 10:17:29 +02:00
v4l2-utils.c v4l2: Improve format and control enumeration 2024-08-07 10:44:26 +02:00
v4l2.c spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
v4l2.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00