mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
use dictionary for extra port info
This commit is contained in:
parent
d79489b29b
commit
becae3e7fa
9 changed files with 14 additions and 13 deletions
|
|
@ -432,9 +432,9 @@ spa_debug_props (const SpaProps *props, bool print_ranges)
|
|||
fprintf (stderr, "\t: %-12s\n", rinfo->name);
|
||||
}
|
||||
}
|
||||
if (info->info) {
|
||||
fprintf (stderr, "Info: \n");
|
||||
spa_debug_dict (info->info);
|
||||
if (info->extra) {
|
||||
fprintf (stderr, "Extra info: \n");
|
||||
spa_debug_dict (info->extra);
|
||||
}
|
||||
}
|
||||
return SPA_RESULT_OK;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spa_port_info_serialize (void *p, const SpaPortInfo *info)
|
|||
pi->params = SPA_INT_TO_PTR (SPA_PTRDIFF (ap, pi));
|
||||
else
|
||||
pi->params = 0;
|
||||
pi->features = 0;
|
||||
pi->extra = 0;
|
||||
|
||||
p = SPA_MEMBER (ap, sizeof (SpaAllocParam*) * info->n_params, void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue