mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	session: only set profile on audio for now
This commit is contained in:
		
							parent
							
								
									e76a7abceb
								
							
						
					
					
						commit
						40e3ba8bb4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1071,7 +1071,7 @@ static int rescan_node(struct impl *impl, struct node *node)
 | 
				
			||||||
	node->session = session;
 | 
						node->session = session;
 | 
				
			||||||
	spa_list_append(&session->node_list, &node->session_link);
 | 
						spa_list_append(&session->node_list, &node->session_link);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!exclusive) {
 | 
						if (!exclusive && peer->media_type == SPA_MEDIA_TYPE_audio) {
 | 
				
			||||||
do_link_profile:
 | 
					do_link_profile:
 | 
				
			||||||
		audio_info = peer->format;
 | 
							audio_info = peer->format;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue