mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	context: "none" is a valid profile that loads nothing
This commit is contained in:
		
							parent
							
								
									54eef8bb9d
								
							
						
					
					
						commit
						bb15472e7c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -91,7 +91,7 @@ static int load_module_profile(struct pw_context *this, const char *profile)
 | 
				
			||||||
		} else if (strncmp(str, "rtkit", len) == 0) {
 | 
							} else if (strncmp(str, "rtkit", len) == 0) {
 | 
				
			||||||
			pw_log_debug(NAME" %p: loading rtkit profile", this);
 | 
								pw_log_debug(NAME" %p: loading rtkit profile", this);
 | 
				
			||||||
			pw_context_load_module(this, "libpipewire-module-rtkit", NULL, NULL);
 | 
								pw_context_load_module(this, "libpipewire-module-rtkit", NULL, NULL);
 | 
				
			||||||
		} else {
 | 
							} else if (strncmp(str, "none", len) != 0) {
 | 
				
			||||||
			pw_log_warn(NAME" %p: unknown profile %.*s", this, (int) len, str);
 | 
								pw_log_warn(NAME" %p: unknown profile %.*s", this, (int) len, str);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue