mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pw-dump: remember the subject of metadata
So that we can also print it instead of printing 0.
This commit is contained in:
parent
f15d585f8d
commit
07d43a001b
1 changed files with 1 additions and 0 deletions
|
|
@ -1149,6 +1149,7 @@ static int metadata_property(void *object,
|
|||
if (e == NULL)
|
||||
return -errno;
|
||||
|
||||
e->subject = subject;
|
||||
e->key = SPA_PTROFF(e, sizeof(*e), void);
|
||||
strcpy(e->key, key);
|
||||
e->value = SPA_PTROFF(e->key, strlen(e->key) + 1, void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue