mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Format: implement intersection and fixate
This commit is contained in:
parent
9dd826136d
commit
7a7ede96e5
11 changed files with 205 additions and 195 deletions
|
|
@ -88,7 +88,7 @@ spa_format_audio_parse (const SpaFormat *format,
|
|||
return SPA_RESULT_INVALID_ARGUMENTS;
|
||||
}
|
||||
|
||||
SPA_POD_FOREACH (format, prop) {
|
||||
SPA_FORMAT_FOREACH (format, prop) {
|
||||
if ((find = parse_info_find (pinfo, prop->body.key, prop->body.value.type))) {
|
||||
memcpy (SPA_MEMBER (info, find->offset, void),
|
||||
SPA_POD_BODY (&prop->body.value),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue