mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: only use the "default" metadata
This commit is contained in:
		
							parent
							
								
									f43c57afdb
								
							
						
					
					
						commit
						61bcd4f988
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2586,7 +2586,10 @@ static void registry_event_global(void *data, uint32_t id,
 | 
			
		|||
	else if (spa_streq(type, PW_TYPE_INTERFACE_Metadata)) {
 | 
			
		||||
		struct pw_proxy *proxy;
 | 
			
		||||
 | 
			
		||||
		if (c->metadata)
 | 
			
		||||
		if (c->metadata != NULL)
 | 
			
		||||
			goto exit;
 | 
			
		||||
		if ((str = spa_dict_lookup(props, PW_KEY_METADATA_NAME)) != NULL &&
 | 
			
		||||
		    !spa_streq(str, "default"))
 | 
			
		||||
			goto exit;
 | 
			
		||||
 | 
			
		||||
		proxy = pw_registry_bind(c->registry,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue