mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: use log topics everywhere
Use log topics properly everywhere, convert from "#define NAME".
This commit is contained in:
		
							parent
							
								
									c963ca47c1
								
							
						
					
					
						commit
						e784de3933
					
				
					 27 changed files with 170 additions and 102 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,9 @@
 | 
			
		|||
 | 
			
		||||
#include "v4l2.h"
 | 
			
		||||
 | 
			
		||||
#define NAME "v4l2-device"
 | 
			
		||||
#undef SPA_LOG_TOPIC_DEFAULT
 | 
			
		||||
#define SPA_LOG_TOPIC_DEFAULT &log_topic
 | 
			
		||||
SPA_LOG_TOPIC_DEFINE_STATIC(log_topic, "spa.v4l2-device");
 | 
			
		||||
 | 
			
		||||
static const char default_device[] = "/dev/video0";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue