impl-node: partially revert target rework

We can't let a client decrement the required state because if it crashes
or fails to decrement, the graph becomes unschedulable.
This commit is contained in:
Wim Taymans 2024-06-13 16:01:16 +02:00
parent b421331275
commit b7af52e3fb
5 changed files with 37 additions and 86 deletions

View file

@ -1802,10 +1802,6 @@ struct pw_impl_client_node *pw_impl_client_node_new(struct pw_resource *resource
if (resource->version < 5) {
pw_log_warn("using server side driver for old client version %d", resource->version);
}
if (resource->version < 6) {
this->node->server_prepare = true;
pw_log_warn("using server side prepare for old client version %d", resource->version);
}
pw_resource_add_listener(this->resource,
&impl->resource_listener,