mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	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:
		
							parent
							
								
									b421331275
								
							
						
					
					
						commit
						b7af52e3fb
					
				
					 5 changed files with 37 additions and 86 deletions
				
			
		| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue