mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Add logger
Add logger interface Make it possible to pass extra interfaces to the element at init time, such as a logger.
This commit is contained in:
		
							parent
							
								
									e90c53e48d
								
							
						
					
					
						commit
						49dae17dfb
					
				
					 26 changed files with 251 additions and 47 deletions
				
			
		| 
						 | 
				
			
			@ -31,7 +31,9 @@ SpaResult spa_ffmpeg_enc_init (SpaHandle *handle);
 | 
			
		|||
static SpaResult
 | 
			
		||||
ffmpeg_dec_init (const SpaHandleFactory  *factory,
 | 
			
		||||
                 SpaHandle               *handle,
 | 
			
		||||
                 const SpaDict           *info)
 | 
			
		||||
                 const SpaDict           *info,
 | 
			
		||||
                 const SpaInterface     **platform,
 | 
			
		||||
                 unsigned int             n_platform)
 | 
			
		||||
{
 | 
			
		||||
  if (factory == NULL || handle == NULL)
 | 
			
		||||
    return SPA_RESULT_INVALID_ARGUMENTS;
 | 
			
		||||
| 
						 | 
				
			
			@ -42,7 +44,9 @@ ffmpeg_dec_init (const SpaHandleFactory  *factory,
 | 
			
		|||
static SpaResult
 | 
			
		||||
ffmpeg_enc_init (const SpaHandleFactory  *factory,
 | 
			
		||||
                 SpaHandle               *handle,
 | 
			
		||||
                 const SpaDict           *info)
 | 
			
		||||
                 const SpaDict           *info,
 | 
			
		||||
                 const SpaInterface     **platform,
 | 
			
		||||
                 unsigned int             n_platform)
 | 
			
		||||
{
 | 
			
		||||
  if (factory == NULL || handle == NULL)
 | 
			
		||||
    return SPA_RESULT_INVALID_ARGUMENTS;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue