mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	don't attempt to connect to empty remote name
Fixes jconvolver startup. See #744
This commit is contained in:
		
							parent
							
								
									81ebc33b57
								
							
						
					
					
						commit
						7053936ffd
					
				
					 4 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -5484,9 +5484,9 @@ get_server_name(struct pw_context *context)
 | 
			
		|||
 | 
			
		||||
	if (props)
 | 
			
		||||
		name = pw_properties_get(props, PW_KEY_REMOTE_NAME);
 | 
			
		||||
	if (name == NULL)
 | 
			
		||||
	if (name == NULL || name[0] == '\0')
 | 
			
		||||
		name = getenv("PIPEWIRE_REMOTE");
 | 
			
		||||
	if (name == NULL)
 | 
			
		||||
	if (name == NULL || name[0] == '\0')
 | 
			
		||||
		name = PW_DEFAULT_REMOTE;
 | 
			
		||||
	return name;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue