mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	merger: also reconfigure when monitor changes
So that monitor ports are added/removed.
This commit is contained in:
		
							parent
							
								
									75212a4054
								
							
						
					
					
						commit
						dec7f7a608
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -624,7 +624,9 @@ static int impl_node_set_param(void *object, uint32_t id, uint32_t flags,
 | 
			
		|||
 | 
			
		||||
		info.info.raw.rate = 0;
 | 
			
		||||
 | 
			
		||||
		if (this->have_profile && memcmp(&this->format, &info, sizeof(info)) == 0)
 | 
			
		||||
		if (this->have_profile &&
 | 
			
		||||
		    memcmp(&this->format, &info, sizeof(info)) == 0 &&
 | 
			
		||||
		    this->monitor == monitor)
 | 
			
		||||
			return 0;
 | 
			
		||||
 | 
			
		||||
		spa_log_debug(this->log, "%p: port config %d/%d %d", this,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue