mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: get the right key for properties
This commit is contained in:
		
							parent
							
								
									2908e11a72
								
							
						
					
					
						commit
						04354215b6
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -3,7 +3,6 @@ context.properties = {
 | 
				
			||||||
    # Properties to configure the session and some
 | 
					    # Properties to configure the session and some
 | 
				
			||||||
    # modules.
 | 
					    # modules.
 | 
				
			||||||
    #mem.mlock-all           = false
 | 
					    #mem.mlock-all           = false
 | 
				
			||||||
    #context.profile.modules = default,rtkit
 | 
					 | 
				
			||||||
    #dbus                    = true
 | 
					    #dbus                    = true
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2116,7 +2116,7 @@ int main(int argc, char *argv[])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_conf_load_conf(SESSION_PREFIX, SESSION_CONF, impl.conf);
 | 
						pw_conf_load_conf(SESSION_PREFIX, SESSION_CONF, impl.conf);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = pw_properties_get(impl.conf, "properties")) != NULL)
 | 
						if ((str = pw_properties_get(impl.conf, "context.properties")) != NULL)
 | 
				
			||||||
		pw_properties_update_string(impl.this.props, str, strlen(str));
 | 
							pw_properties_update_string(impl.this.props, str, strlen(str));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((impl.modules = pw_properties_new("default", "true", NULL)) == NULL)
 | 
						if ((impl.modules = pw_properties_new("default", "true", NULL)) == NULL)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue