mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
pod: add missing parser varargs formats
This commit is contained in:
parent
121608f040
commit
00dbe9cb2a
1 changed files with 5 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ SPA_API_POD_PARSER bool spa_pod_parser_body_can_collect(const struct spa_pod *po
|
||||||
if (pod->type == SPA_TYPE_Choice) {
|
if (pod->type == SPA_TYPE_Choice) {
|
||||||
if (!spa_pod_is_choice(pod))
|
if (!spa_pod_is_choice(pod))
|
||||||
return false;
|
return false;
|
||||||
if (type == 'V')
|
if (type == 'V' || type == 'W')
|
||||||
return true;
|
return true;
|
||||||
spa_pod_body_get_choice(pod, body, &choice, &body);
|
spa_pod_body_get_choice(pod, body, &choice, &body);
|
||||||
if (choice.body.type != SPA_CHOICE_None)
|
if (choice.body.type != SPA_CHOICE_None)
|
||||||
|
|
@ -731,6 +731,10 @@ do { \
|
||||||
case 'P': \
|
case 'P': \
|
||||||
case 'T': \
|
case 'T': \
|
||||||
case 'O': \
|
case 'O': \
|
||||||
|
case 'W': \
|
||||||
|
case 'Q': \
|
||||||
|
case 'U': \
|
||||||
|
case 'N': \
|
||||||
va_arg(args, void*); \
|
va_arg(args, void*); \
|
||||||
break; \
|
break; \
|
||||||
} \
|
} \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue