mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	node: set node name in global
This commit is contained in:
		
							parent
							
								
									001e693e5c
								
							
						
					
					
						commit
						dfa39ab2ff
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -354,6 +354,7 @@ int pw_node_register(struct pw_node *this,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = pw_properties_get(this->properties, "media.class")) != NULL)
 | 
						if ((str = pw_properties_get(this->properties, "media.class")) != NULL)
 | 
				
			||||||
		pw_properties_set(properties, "media.class", str);
 | 
							pw_properties_set(properties, "media.class", str);
 | 
				
			||||||
 | 
						pw_properties_set(properties, "node.name", this->info.name);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	spa_list_append(&core->node_list, &this->link);
 | 
						spa_list_append(&core->node_list, &this->link);
 | 
				
			||||||
	this->global = pw_global_new(core,
 | 
						this->global = pw_global_new(core,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue