mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: pass right object to TAG_PROPLIST
This commit is contained in:
parent
0ff7321a65
commit
78ab2c3cad
1 changed files with 2 additions and 2 deletions
|
|
@ -740,7 +740,7 @@ static int do_set_client_name(struct client *client, uint32_t command, uint32_t
|
|||
PW_KEY_APP_NAME, name);
|
||||
} else {
|
||||
if (message_get(m,
|
||||
TAG_PROPLIST, client->props ? &client->props->dict : NULL,
|
||||
TAG_PROPLIST, client->props,
|
||||
TAG_INVALID) < 0)
|
||||
return -EPROTO;
|
||||
changed++;
|
||||
|
|
@ -3819,7 +3819,7 @@ static int fill_sample_info(struct client *client, struct message *m,
|
|||
|
||||
if (client->version >= 13) {
|
||||
message_put(m,
|
||||
TAG_PROPLIST, sample->props,
|
||||
TAG_PROPLIST, &sample->props->dict,
|
||||
TAG_INVALID);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue