node: keep better track of driver node

When a session disappears, try to move nodes to another session.
This commit is contained in:
Wim Taymans 2018-05-17 17:40:08 +02:00
parent 1bff5afe05
commit ef9fcd1093
7 changed files with 144 additions and 72 deletions

View file

@ -84,7 +84,6 @@ struct spa_graph_callbacks {
#define spa_graph_finish(g) ((g)->callbacks->finish((g)->callbacks_data))
struct spa_graph {
#define SPA_GRAPH_FLAG_DRIVER (1 << 0)
uint32_t flags; /* flags */
struct spa_graph_node *parent; /* parent node or NULL when driver */
struct spa_graph_state *state; /* state of graph */