mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
e7dffd64eb
commit
13cb51efbd
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ spa_debug_format_value(const struct spa_type_info *info,
|
||||||
void *p;
|
void *p;
|
||||||
struct spa_pod_array_body *b = (struct spa_pod_array_body *)body;
|
struct spa_pod_array_body *b = (struct spa_pod_array_body *)body;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
info = info && info->values ? info->values : info;
|
||||||
fprintf(stderr, "< ");
|
fprintf(stderr, "< ");
|
||||||
SPA_POD_ARRAY_BODY_FOREACH(b, size, p) {
|
SPA_POD_ARRAY_BODY_FOREACH(b, size, p) {
|
||||||
if (i++ > 0)
|
if (i++ > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue