mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	impl-port: res > 0 means the param was modified
Only log the error when the res < 0, otherwise the param was accepted bu modified.
This commit is contained in:
		
							parent
							
								
									b029a2ce05
								
							
						
					
					
						commit
						2242ab66dc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1716,7 +1716,7 @@ int pw_impl_port_set_param(struct pw_impl_port *port, uint32_t id, uint32_t flag
 | 
				
			||||||
	pw_log_debug("%p: %d set param on node %d:%d id:%d (%s): %d (%s)", port, port->state,
 | 
						pw_log_debug("%p: %d set param on node %d:%d id:%d (%s): %d (%s)", port, port->state,
 | 
				
			||||||
			port->direction, port->port_id, id,
 | 
								port->direction, port->port_id, id,
 | 
				
			||||||
			spa_debug_type_find_name(spa_type_param, id),
 | 
								spa_debug_type_find_name(spa_type_param, id),
 | 
				
			||||||
			res, spa_strerror(res));
 | 
								res, res <= 0 ? spa_strerror(res) : "modified");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* set the parameters on all ports of the mixer node if possible */
 | 
						/* set the parameters on all ports of the mixer node if possible */
 | 
				
			||||||
	if (res >= 0) {
 | 
						if (res >= 0) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue