mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: don't send NULL profile name in port info
This commit is contained in:
		
							parent
							
								
									86fd6a0d3e
								
							
						
					
					
						commit
						d56e759166
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3354,7 +3354,7 @@ static int fill_card_info(struct client *client, struct message *m,
 | 
			
		|||
				uint32_t idx = pi->profiles[i];
 | 
			
		||||
				message_put(m,
 | 
			
		||||
					TAG_STRING, idx < n_profiles ?
 | 
			
		||||
							profile_info[idx].name : NULL,	/* profile name */
 | 
			
		||||
						profile_info[idx].name : "off",	/* profile name */
 | 
			
		||||
					TAG_INVALID);
 | 
			
		||||
			}
 | 
			
		||||
			if (client->version >= 27) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue