mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: don't warn for NULL io
The io is set to NULL when the port becomes unnegotiated.
This commit is contained in:
		
							parent
							
								
									f48f158566
								
							
						
					
					
						commit
						2fa1b4384b
					
				
					 15 changed files with 30 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -823,8 +823,8 @@ static int impl_node_process(void *object)
 | 
			
		|||
	spa_return_val_if_fail(impl != NULL, -EINVAL);
 | 
			
		||||
 | 
			
		||||
	port = GET_OUT_PORT(impl, 0);
 | 
			
		||||
	io = port->io;
 | 
			
		||||
	spa_return_val_if_fail(io != NULL, -EIO);
 | 
			
		||||
	if ((io = port->io) == NULL)
 | 
			
		||||
		return -EIO;
 | 
			
		||||
 | 
			
		||||
	if (port->control)
 | 
			
		||||
		process_control(impl, &port->control->sequence);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue