mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pass spa_dict around as config
Don't pass pw_properties around when we simply need to pass around config info, only use pw_properties when used to construct an object that keeps the properties.
This commit is contained in:
parent
3eec3f5abf
commit
1317ca140c
20 changed files with 73 additions and 68 deletions
|
|
@ -303,7 +303,7 @@ static struct v4l2_object *v4l2_create_object(struct impl *impl, uint32_t id,
|
|||
v4l2_update_device_props(obj);
|
||||
|
||||
obj->proxy = sm_media_session_export(impl->session,
|
||||
info->type, pw_properties_copy(obj->props), obj->device, 0);
|
||||
info->type, &obj->props->dict, obj->device, 0);
|
||||
if (obj->proxy == NULL) {
|
||||
res = -errno;
|
||||
goto clean_object;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue