mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
remote: use 0 for pw_proxy_new() user_data_size argument
pw_proxy_new() expects a size for its user data structure as the last argument, not a proxy version
This commit is contained in:
parent
ba653fccfc
commit
24eeea62e7
1 changed files with 2 additions and 2 deletions
|
|
@ -283,12 +283,12 @@ static int do_connect(struct pw_remote *remote)
|
|||
dummy.remote = remote;
|
||||
|
||||
remote->core_proxy = (struct pw_core_proxy*)pw_proxy_new(&dummy,
|
||||
PW_TYPE_INTERFACE_Core, PW_VERSION_CORE);
|
||||
PW_TYPE_INTERFACE_Core, 0);
|
||||
if (remote->core_proxy == NULL)
|
||||
goto no_proxy;
|
||||
|
||||
remote->client_proxy = (struct pw_client_proxy*)pw_proxy_new(&dummy,
|
||||
PW_TYPE_INTERFACE_Client, PW_VERSION_CLIENT);
|
||||
PW_TYPE_INTERFACE_Client, 0);
|
||||
if (remote->client_proxy == NULL)
|
||||
goto clean_core_proxy;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue