mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: v4l2: Remove start_watching_device() loop from start_inotify()
Now that start_monitor() (which calls start_inotify()) is called before
enum_devices() it no longer is necessary to call start_watching_device()
for devices which have been enumerated before start_inotify() gets
called (since there will not be any such devices anymore).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 46f89d8009)
This commit is contained in:
parent
17e6d88a6e
commit
d679ea840f
1 changed files with 0 additions and 3 deletions
|
|
@ -477,9 +477,6 @@ static int start_inotify(struct impl *this)
|
|||
|
||||
spa_loop_add_source(this->main_loop, &this->notify);
|
||||
|
||||
for (size_t i = 0; i < this->n_devices; i++)
|
||||
start_watching_device(this, &this->devices[i]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue