mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pod: descend in array type if possible
This commit is contained in:
parent
7c5cb5a281
commit
3ac2bc0ad2
2 changed files with 2 additions and 0 deletions
|
|
@ -338,6 +338,7 @@ static void put_pod_value(struct data *d, const struct spa_type_info *info,
|
|||
{
|
||||
struct spa_pod_array_body *b = (struct spa_pod_array_body *)body;
|
||||
void *p;
|
||||
info = info && info->values ? info->values: info;
|
||||
put_begin(d, "[", FLAG_SIMPLE);
|
||||
SPA_POD_ARRAY_BODY_FOREACH(b, size, p)
|
||||
put_pod_value(d, info, b->child.type, p, b->child.size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue