node: allow for setting driver root

The driver root is the graph that should be run when a remote driver
starts the graph and can be different from the node itself when it's
part of a subgraph like in client-stream.
This commit is contained in:
Wim Taymans 2018-10-31 10:45:22 +00:00
parent 32afd8d228
commit 0bc6ba8559
3 changed files with 11 additions and 8 deletions

View file

@ -307,6 +307,7 @@ struct pw_node {
* is selected to drive the graph */
struct pw_node *driver_node;
struct pw_node *driver_root;
struct spa_list driver_list;
struct spa_list driver_link;