mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pulse-server: print encoding name in format_info
This commit is contained in:
parent
686524ce40
commit
4b591df145
2 changed files with 23 additions and 2 deletions
|
|
@ -850,7 +850,9 @@ static int message_dump(enum spa_log_level level, struct message *m)
|
|||
const struct spa_dict_item *it;
|
||||
if ((res = read_format_info(m, &info)) < 0)
|
||||
return res;
|
||||
pw_log(level, "%u: format-info: n_items:%u", o, info.props->dict.n_items);
|
||||
pw_log(level, "%u: format-info: enc:%s n_items:%u",
|
||||
o, format_encoding2name(info.encoding),
|
||||
info.props->dict.n_items);
|
||||
spa_dict_for_each(it, &info.props->dict)
|
||||
pw_log(level, " '%s': '%s'", it->key, it->value);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue