mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewiresrc: improve remote connection errors
This commit is contained in:
		
							parent
							
								
									a003d1a39f
								
							
						
					
					
						commit
						629f824b91
					
				
					 5 changed files with 27 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -44,14 +44,6 @@ static struct pw_node *create_node(struct pw_node_factory *factory,
 | 
			
		|||
{
 | 
			
		||||
	struct pw_client_node *node;
 | 
			
		||||
 | 
			
		||||
	if (properties == NULL)
 | 
			
		||||
		properties = pw_properties_new(NULL, NULL);
 | 
			
		||||
	if (properties == NULL)
 | 
			
		||||
		goto no_mem;
 | 
			
		||||
 | 
			
		||||
	pw_properties_setf(properties,
 | 
			
		||||
			   "pipewire.owner.client", "%d", resource->client->global->id);
 | 
			
		||||
 | 
			
		||||
	node = pw_client_node_new(resource, name, properties);
 | 
			
		||||
	if (node == NULL)
 | 
			
		||||
		goto no_mem;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue