mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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);
|
PW_KEY_APP_NAME, name);
|
||||||
} else {
|
} else {
|
||||||
if (message_get(m,
|
if (message_get(m,
|
||||||
TAG_PROPLIST, client->props ? &client->props->dict : NULL,
|
TAG_PROPLIST, client->props,
|
||||||
TAG_INVALID) < 0)
|
TAG_INVALID) < 0)
|
||||||
return -EPROTO;
|
return -EPROTO;
|
||||||
changed++;
|
changed++;
|
||||||
|
|
@ -3819,7 +3819,7 @@ static int fill_sample_info(struct client *client, struct message *m,
|
||||||
|
|
||||||
if (client->version >= 13) {
|
if (client->version >= 13) {
|
||||||
message_put(m,
|
message_put(m,
|
||||||
TAG_PROPLIST, sample->props,
|
TAG_PROPLIST, &sample->props->dict,
|
||||||
TAG_INVALID);
|
TAG_INVALID);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue