media-session: keep globals in a list as well

Also keep a list of globals and use it to emit the globals in
add_listener.
This commit is contained in:
Wim Taymans 2019-11-19 16:07:41 +01:00
parent b432bda109
commit 541f3a4cc6
2 changed files with 20 additions and 5 deletions

View file

@ -36,6 +36,7 @@ struct sm_object {
uint32_t id;
uint32_t type;
struct spa_list link;
struct sm_media_session *session;
#define SM_OBJECT_CHANGE_MASK_PROPERTIES (1<<0)