node: signal driver when graph incomplete

When the graph was not complete, call the driver node to recycle any
pending buffer and complete the graph.
This commit is contained in:
Wim Taymans 2019-03-13 16:20:22 +01:00
parent 1646b13e29
commit f0c887186c

View file

@ -978,6 +978,7 @@ static int node_ready(void *data, int status)
if (node->rt.activation->running) {
pw_log_warn("node %p: graph not finished", node);
dump_states(node);
node->rt.target.signal(node->rt.target.data);
}
spa_list_for_each(t, &driver->rt.target_list, link) {
pw_node_activation_state_reset(&t->activation->state[0]);