mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-metadata: remove is when key == NULL
This commit is contained in:
		
							parent
							
								
									13cef576c9
								
							
						
					
					
						commit
						a97d4c44b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -68,7 +68,7 @@ static int metadata_property(void *data, uint32_t id,
 | 
			
		|||
 | 
			
		||||
	if ((d->opt_id == SPA_ID_INVALID || d->opt_id == id) &&
 | 
			
		||||
	    (d->opt_key == NULL || strcmp(d->opt_key, key) == 0)) {
 | 
			
		||||
		if (value == NULL && key == NULL) {
 | 
			
		||||
		if (key == NULL) {
 | 
			
		||||
			fprintf(stdout, "remove: id:%u all keys\n", id);
 | 
			
		||||
		} else if (value == NULL) {
 | 
			
		||||
			fprintf(stdout, "remove: id:%u key:'%s'\n", id, key);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue