pipewire/pipewire-v4l2/src
Barnabás Pőcze 5e1a93d61d pipewire-v4l2: only access globals.fd_maps while holding globals.lock
`fd_map` structures are allocated in a `pw_array`. When inserting into
a full `pw_array`, it is resized to accomodate the new elements. In that case,
all `fd_map` pointers may be invalidated. Hence it is only safe to access
`fd_map` structs while holding `globals.lock`, which prevents any modifications
to the fd map array, thus keeping the references valid.
2021-10-18 09:03:12 +00:00
..
meson.build pipewire-v4l2: the start of a v4l2 LD_PRELOAD library 2021-10-14 10:16:35 +02:00
pipewire-v4l2.c pipewire-v4l2: only access globals.fd_maps while holding globals.lock 2021-10-18 09:03:12 +00:00
pipewire-v4l2.h pipewire-v4l2: More improvements 2021-10-14 10:16:35 +02:00
pw-v4l2.in pw-v4l2: fix script as suggested by shellcheck 2021-10-14 21:14:45 +02:00
v4l2-func.c pipewire-v4l2: More improvements 2021-10-14 10:16:35 +02:00