spa: fix array type info

Descend into the type info of the array. Fixes names of channels
in position array.
This commit is contained in:
Wim Taymans 2020-12-15 16:06:10 +01:00
parent e7dffd64eb
commit 13cb51efbd

View file

@ -91,6 +91,7 @@ spa_debug_format_value(const struct spa_type_info *info,
void *p;
struct spa_pod_array_body *b = (struct spa_pod_array_body *)body;
int i = 0;
info = info && info->values ? info->values : info;
fprintf(stderr, "< ");
SPA_POD_ARRAY_BODY_FOREACH(b, size, p) {
if (i++ > 0)