media-session: improve conf parsing

Just use parse_string to convert the value.
This commit is contained in:
Wim Taymans 2020-12-31 10:11:10 +01:00
parent 85cb85d440
commit f29bc42b4d
2 changed files with 2 additions and 3 deletions

View file

@ -2176,7 +2176,6 @@ again:
while (spa_json_get_string(&it[1], key, sizeof(key)-1) > 0) {
bool add = false;
pw_log_info("%s", key);
if (key[0] == '#') {
add = false;
} else if (pw_properties_get(impl->modules, key) != NULL) {