mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
modules: use timer-queue in avahi-poll
Pass the pw_context to get to the shared queue and loop. Patch up the users of avahi-poll. Fixes #4913
This commit is contained in:
parent
678e571d80
commit
fdc74df383
7 changed files with 49 additions and 41 deletions
|
|
@ -1835,7 +1835,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
if ((res = setup_apple_session(impl)) < 0)
|
||||
goto out;
|
||||
|
||||
impl->avahi_poll = pw_avahi_poll_new(impl->loop);
|
||||
impl->avahi_poll = pw_avahi_poll_new(impl->context);
|
||||
if ((impl->client = avahi_client_new(impl->avahi_poll,
|
||||
AVAHI_CLIENT_NO_FAIL,
|
||||
client_callback, impl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue