pipewire/spa/plugins/v4l2
Wim Taymans f357798715 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-12 08:58:09 +02:00
..
meson.build v4l2: include config.h to check for udev 2024-02-06 22:41:54 +01:00
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-12 08:58:09 +02:00
v4l2-udev.c spa: alsa,v4l2: avoid double access check on inotify events 2024-02-09 18:32:53 +01:00
v4l2-utils.c v4l2: Improve format and control enumeration 2024-07-12 08:58:09 +02:00
v4l2.c v4l2: include config.h to check for udev 2024-02-06 22:41:54 +01:00
v4l2.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00