mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
props: remove pointers in property values in protocol
Mark pointers in property values with pointer: and remove them when sending the properties over the wire to avoid errors.
This commit is contained in:
parent
f8127943cd
commit
0e765de519
9 changed files with 166 additions and 147 deletions
|
|
@ -887,7 +887,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
if (info == NULL || (str = spa_dict_lookup(info, "audio.adapt.slave")) == NULL)
|
||||
return -EINVAL;
|
||||
|
||||
sscanf(str, "%p", &this->slave);
|
||||
sscanf(str, "pointer:%p", &this->slave);
|
||||
if (this->slave == NULL)
|
||||
return -EINVAL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue