mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 04:30:04 +01:00
module-rt: warn if setting niceness fails with rtlimit
This commit is contained in:
parent
ba8c6154a0
commit
43bf1b8f7c
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 (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;
|
use_rtkit = can_use_rtkit;
|
||||||
}
|
}
|
||||||
if (!use_rtkit)
|
if (!use_rtkit)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue