media-session: get the right key for properties

This commit is contained in:
Wim Taymans 2021-02-12 17:28:52 +01:00
parent 2908e11a72
commit 04354215b6
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@ context.properties = {
# Properties to configure the session and some
# modules.
#mem.mlock-all = false
#context.profile.modules = default,rtkit
#dbus = true
}

View file

@ -2116,7 +2116,7 @@ int main(int argc, char *argv[])
pw_conf_load_conf(SESSION_PREFIX, SESSION_CONF, impl.conf);
if ((str = pw_properties_get(impl.conf, "properties")) != NULL)
if ((str = pw_properties_get(impl.conf, "context.properties")) != NULL)
pw_properties_update_string(impl.this.props, str, strlen(str));
if ((impl.modules = pw_properties_new("default", "true", NULL)) == NULL)