session-manager: fix protocol

Add separate types for interfaces and implementation
Fix some bugs in the protocol
Add some introspection support in cli
This commit is contained in:
Wim Taymans 2019-11-04 16:42:55 +01:00
parent 29254b688a
commit 085f1822b9
9 changed files with 166 additions and 27 deletions

View file

@ -208,7 +208,7 @@ int endpoint_stream_update(struct endpoint_stream *this,
}
if (!this->info.name)
this->info.name = strdup(info->name);
this->info.name = info->name ? strdup(info->name) : NULL;
this->info.change_mask = info->change_mask;
spa_list_for_each(resource, &this->global->resource_list, link) {