mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
pipewire: merge, not overwrite the context.properties from the config file
Any values already set in the properties list (e.g. from earlier getenv()) calls should not be overwritten by the value in the config file.
This commit is contained in:
parent
b179e81070
commit
f775547528
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ struct pw_context *pw_context_new(struct pw_loop *main_loop,
|
|||
cpu = spa_support_find(this->support, n_support, SPA_TYPE_INTERFACE_CPU);
|
||||
|
||||
if ((str = pw_properties_get(conf, "context.properties")) != NULL) {
|
||||
pw_properties_update_string(properties, str, strlen(str));
|
||||
pw_properties_add_string(properties, str, strlen(str));
|
||||
pw_log_info(NAME" %p: parsed context.properties section", this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue