mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: use the spa_log_logv macro to chain the log calls
No need to use the interface call directly here, let's just use the macro.
This commit is contained in:
		
							parent
							
								
									cbcf62f341
								
							
						
					
					
						commit
						9eda834417
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -69,9 +69,8 @@ impl_log_logv(void *object,
 | 
			
		|||
	if (impl->chain_log != NULL) {
 | 
			
		||||
		va_list args_copy;
 | 
			
		||||
		va_copy(args_copy, args);
 | 
			
		||||
		spa_interface_call(&impl->chain_log->iface,
 | 
			
		||||
				   struct spa_log_methods, logv, 0,
 | 
			
		||||
				   level, file, line, func, fmt, args_copy);
 | 
			
		||||
		spa_log_logv(impl->chain_log,
 | 
			
		||||
			      level, file, line, func, fmt, args_copy);
 | 
			
		||||
		va_end(args_copy);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue