mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
debug: improve debug of bool
This commit is contained in:
parent
d6289639f1
commit
a377bfa3f1
1 changed files with 2 additions and 2 deletions
|
|
@ -111,10 +111,10 @@ spa_debug_pod_value(int indent, const struct spa_type_info *info,
|
|||
{
|
||||
switch (type) {
|
||||
case SPA_TYPE_Bool:
|
||||
spa_debug("%*s" "Bool %d", indent, "", *(int32_t *) body);
|
||||
spa_debug("%*s" "Bool %s", indent, "", (*(int32_t *) body) ? "true" : "false");
|
||||
break;
|
||||
case SPA_TYPE_Id:
|
||||
spa_debug("%*s" "Id %d (%s)", indent, "", *(int32_t *) body,
|
||||
spa_debug("%*s" "Id %-8d (%s)", indent, "", *(int32_t *) body,
|
||||
spa_debug_type_find_name(info, *(int32_t *) body));
|
||||
break;
|
||||
case SPA_TYPE_Int:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue