diff options
Diffstat (limited to 'server/audio_encoder.cc')
-rw-r--r-- | server/audio_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/audio_encoder.cc b/server/audio_encoder.cc index 02538f2..04ae379 100644 --- a/server/audio_encoder.cc +++ b/server/audio_encoder.cc @@ -52,7 +52,7 @@ void AudioEncoder::thread_main() MIaV::info->info("AudioEncoder::run"); // Run with slightly lower priority than MovEncoderWriter - nice(1); + if(nice(1) == -1) MIaV::info->warn("AudioEncoder::run could not set nice."); Frame *in_frame = NULL; Frame *out_frame = NULL; |