mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: don't send NULL profile name in port info
This commit is contained in:
parent
86fd6a0d3e
commit
d56e759166
1 changed files with 1 additions and 1 deletions
|
|
@ -3354,7 +3354,7 @@ static int fill_card_info(struct client *client, struct message *m,
|
||||||
uint32_t idx = pi->profiles[i];
|
uint32_t idx = pi->profiles[i];
|
||||||
message_put(m,
|
message_put(m,
|
||||||
TAG_STRING, idx < n_profiles ?
|
TAG_STRING, idx < n_profiles ?
|
||||||
profile_info[idx].name : NULL, /* profile name */
|
profile_info[idx].name : "off", /* profile name */
|
||||||
TAG_INVALID);
|
TAG_INVALID);
|
||||||
}
|
}
|
||||||
if (client->version >= 27) {
|
if (client->version >= 27) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue