mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
media-session: also create EndpointLink objects
Create an endpoint link object when linking endpoints. Keep track of the links in the endpoint_link and cleanup when they are all gone. Improve properties on session objects.
This commit is contained in:
parent
4ccbce9932
commit
709a52e286
7 changed files with 277 additions and 60 deletions
|
|
@ -327,7 +327,7 @@ int endpoint_init(struct endpoint *this,
|
|||
if (!this->global)
|
||||
goto no_mem;
|
||||
|
||||
pw_properties_setf(this->props, PW_KEY_ENDPOINT_ID, "%u", this->global->id);
|
||||
pw_properties_setf(this->props, PW_KEY_OBJECT_ID, "%u", this->global->id);
|
||||
|
||||
this->info.version = PW_VERSION_ENDPOINT_INFO;
|
||||
this->info.id = this->global->id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue