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 treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
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: add support fot G_CTRL 2023-04-18 16:27:55 +02:00
v4l2-udev.c v4l2: don't set inotify on /dev 2023-07-31 13:16:17 +02:00
v4l2-utils.c v4l2: handle ENOTTY 2023-07-04 11:36:37 +02:00
v4l2.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
v4l2.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00