mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pipewire-pulse: null sink must have a description
Certain pulseaudio clients crash if this is unset
This commit is contained in:
parent
5dc2a7b793
commit
c092f0c1c4
1 changed files with 2 additions and 0 deletions
|
|
@ -202,6 +202,8 @@ static int load_module(struct client *client, const char *name, const char *argu
|
|||
if ((str = pw_properties_get(props, "device.description")) != NULL) {
|
||||
pw_properties_set(props, PW_KEY_NODE_DESCRIPTION, str);
|
||||
pw_properties_set(props, "device.description", NULL);
|
||||
} else {
|
||||
pw_properties_set(props, PW_KEY_NODE_DESCRIPTION, "null sink");
|
||||
}
|
||||
pw_properties_set(props, PW_KEY_FACTORY_NAME, "support.null-audio-sink");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue