mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
don't attempt to connect to empty remote name
Fixes jconvolver startup. See #744
This commit is contained in:
parent
81ebc33b57
commit
7053936ffd
4 changed files with 6 additions and 6 deletions
|
|
@ -50,9 +50,9 @@ get_remote(const struct spa_dict *props)
|
|||
|
||||
if (props)
|
||||
name = spa_dict_lookup(props, PW_KEY_REMOTE_NAME);
|
||||
if (name == NULL)
|
||||
if (name == NULL || name[0] == '\0')
|
||||
name = getenv("PIPEWIRE_REMOTE");
|
||||
if (name == NULL)
|
||||
if (name == NULL || name[0] == '\0')
|
||||
name = PW_DEFAULT_REMOTE;
|
||||
return name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue