mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: libcamera: bump minimum supported version to 0.2.0
This commit is contained in:
		
							parent
							
								
									268f4856f8
								
							
						
					
					
						commit
						4b145ad444
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -61,12 +61,10 @@ struct impl {
 | 
			
		|||
static const libcamera::Span<const int64_t> cameraDevice(
 | 
			
		||||
			const Camera *camera)
 | 
			
		||||
{
 | 
			
		||||
#ifdef HAVE_LIBCAMERA_SYSTEM_DEVICES
 | 
			
		||||
	const ControlList &props = camera->properties();
 | 
			
		||||
 | 
			
		||||
	if (auto devices = props.get(properties::SystemDevices))
 | 
			
		||||
		return devices.value();
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	return {};
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue