mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
protocol: init spa_dict properly
Or else the flags might be wrong.
This commit is contained in:
parent
085f1822b9
commit
6397db9d68
4 changed files with 17 additions and 16 deletions
|
|
@ -38,6 +38,7 @@ extern "C" {
|
|||
static inline int spa_debug_dict(int indent, const struct spa_dict *dict)
|
||||
{
|
||||
const struct spa_dict_item *item;
|
||||
spa_debug("%*s flags:%08x n_items:%d", indent, "", dict->flags, dict->n_items);
|
||||
spa_dict_for_each(item, dict) {
|
||||
spa_debug("%*s%s = \"%s\"", indent, "", item->key, item->value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue