mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	impl-device: don't warn for unknown node id
Just debug the node id and remove it when known. It's possible that no node was created for the id because it did not have a factory.
This commit is contained in:
		
							parent
							
								
									9905d249ba
								
							
						
					
					
						commit
						65f961fca0
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -744,13 +744,9 @@ static void device_object_info(void *data, uint32_t id,
 | 
			
		|||
	od = find_object(device, id);
 | 
			
		||||
 | 
			
		||||
	if (info == NULL) {
 | 
			
		||||
		if (od) {
 | 
			
		||||
			pw_log_debug(NAME" %p: remove node %d", device, id);
 | 
			
		||||
		pw_log_debug(NAME" %p: remove node %d (%p)", device, id, od);
 | 
			
		||||
		if (od)
 | 
			
		||||
			object_destroy(od);
 | 
			
		||||
		}
 | 
			
		||||
		else {
 | 
			
		||||
			pw_log_warn(NAME" %p: unknown node %d", device, id);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	else if (od != NULL) {
 | 
			
		||||
		if (info->change_mask & SPA_DEVICE_OBJECT_CHANGE_MASK_PROPS)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue