pipewire/spa/plugins/v4l2
Wim Taymans 88f0dbd6fc v4l2: don't set inotify on /dev
Doing inotify on /dev is not a good idea because we will be woken up by
a lot of unrelated events.

There is a report of a performance regression on some IO benchmark
because of lock contention within the fsnotify subsystem due to this.

Instead, just watch for attribute changes on the /dev/videoX files
directly. We are only interested in attribute changes, udev should
notify us when the file is added or removed.
2023-07-31 13:16:17 +02:00
..
meson.build
v4l2-device.c spa: v4l2: get the device number of the v4l2 device 2023-07-19 09:21:03 +00:00
v4l2-source.c
v4l2-udev.c v4l2: don't set inotify on /dev 2023-07-31 13:16:17 +02:00
v4l2-utils.c
v4l2.c
v4l2.h