global: don't reuse ids

This commit is contained in:
Wim Taymans 2022-01-12 20:36:25 +01:00
parent 60818886ed
commit bae0d16e09
18 changed files with 19 additions and 77 deletions

View file

@ -322,8 +322,6 @@ int endpoint_link_init(struct endpoint_link *this,
pw_properties_setf(this->props, PW_KEY_OBJECT_ID, "%u",
pw_global_get_id(this->global));
pw_properties_setf(this->props, PW_KEY_OBJECT_SERIAL, "%"PRIu64,
pw_global_get_serial(this->global));
this->info.version = PW_VERSION_ENDPOINT_LINK_INFO;
this->info.id = pw_global_get_id(this->global);