mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: only save routes with the save flag set
We only want to save the route properties when they were changed by a user action.
This commit is contained in:
		
							parent
							
								
									f78be58568
								
							
						
					
					
						commit
						51c700a655
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -736,7 +736,7 @@ static int handle_route(struct device *dev, struct route *r)
 | 
			
		|||
		 * save this as a prefered port */
 | 
			
		||||
		pw_log_info("device %d: new active port found '%s'", dev->id, r->name);
 | 
			
		||||
		restore_route(dev, r);
 | 
			
		||||
	} else if (r->props) {
 | 
			
		||||
	} else if (r->props && r->save) {
 | 
			
		||||
		/* just save port properties */
 | 
			
		||||
		save_route(dev, r);
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue