mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 04:30:04 +01:00
Merge branch 'niceness-warning' into 'master'
module-rt: warn if setting niceness fails with rtlimit See merge request pipewire/pipewire!2632
This commit is contained in:
commit
0c0b823755
1 changed files with 1 additions and 1 deletions
|
|
@ -1132,7 +1132,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
}
|
||||
|
||||
if (IS_VALID_NICE_LEVEL(impl->nice_level)) {
|
||||
if (set_nice(impl, impl->nice_level, !can_use_rtkit) < 0)
|
||||
if (set_nice(impl, impl->nice_level, !use_rtkit) < 0)
|
||||
use_rtkit = can_use_rtkit;
|
||||
}
|
||||
if (!use_rtkit)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue