mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	metadata: only set default name when not already set
This commit is contained in:
		
							parent
							
								
									ba8522aac9
								
							
						
					
					
						commit
						a5ec68e61c
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -232,6 +232,7 @@ pw_metadata_new(struct pw_context *context, struct pw_resource *resource,
 | 
				
			||||||
		return NULL;
 | 
							return NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (pw_properties_get(properties, PW_KEY_METADATA_NAME) == NULL)
 | 
				
			||||||
		pw_properties_set(properties, PW_KEY_METADATA_NAME, "default");
 | 
							pw_properties_set(properties, PW_KEY_METADATA_NAME, "default");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_resource_install_marshal(resource, true);
 | 
						pw_resource_install_marshal(resource, true);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue