mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-top: use media.name as display name
				
					
				
			Try to use `media.name` as the display name for a node when none of the other keys are found in its properties. For example, `pw_stream_new_simple()` only sets `media.name` on the created node object by default.
This commit is contained in:
		
							parent
							
								
									9d439bac06
								
							
						
					
					
						commit
						d8ab51a9fc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -171,6 +171,7 @@ static const char *find_node_name(const struct spa_dict *props)
 | 
			
		|||
		PW_KEY_NODE_NAME,
 | 
			
		||||
		PW_KEY_NODE_DESCRIPTION,
 | 
			
		||||
		PW_KEY_APP_NAME,
 | 
			
		||||
		PW_KEY_MEDIA_NAME,
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	SPA_FOR_EACH_ELEMENT_VAR(name_keys, key) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue