pw-dump: don't print unreadable params

This commit is contained in:
Wim Taymans 2021-02-03 19:27:57 +01:00
parent 885748dfbd
commit 4c46495c38

View file

@ -482,7 +482,7 @@ static void put_params(struct data *d, const char *key,
put_begin(d, spa_debug_type_find_short_name(spa_type_param, pi->id), put_begin(d, spa_debug_type_find_short_name(spa_type_param, pi->id),
"[", flags); "[", flags);
spa_list_for_each(p, list, link) { spa_list_for_each(p, list, link) {
if (p->id == pi->id) if (p->id == pi->id && flags == 0)
put_pod(d, NULL, p->param); put_pod(d, NULL, p->param);
} }
put_end(d, "]", flags); put_end(d, "]", flags);