mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
hook: handle port and factory implementation with hook
This way we can also handle the version number.
This commit is contained in:
parent
23d4ed62dd
commit
903cbeb7c1
5 changed files with 23 additions and 26 deletions
|
|
@ -1532,9 +1532,7 @@ static void node_port_added(void *data, struct pw_port *port)
|
|||
PW_PORT_MIX_FLAG_MULTI |
|
||||
PW_PORT_MIX_FLAG_MIX_ONLY);
|
||||
|
||||
port->implementation = &port_impl;
|
||||
port->implementation_data = p;
|
||||
|
||||
port->impl = SPA_HOOK_INIT(&port_impl, p);
|
||||
port->owner_data = impl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue