diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
commit | 408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch) | |
tree | 7f73587d84487f989bca966a22fc1c85c3f8397b /server/mov_encoder.cc | |
parent | 7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff) |
Fix warnings and error (due to bitrot)master-old
Diffstat (limited to 'server/mov_encoder.cc')
-rw-r--r-- | server/mov_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mov_encoder.cc b/server/mov_encoder.cc index 2b10f73..df0892d 100644 --- a/server/mov_encoder.cc +++ b/server/mov_encoder.cc @@ -73,7 +73,7 @@ void MovEncoder::thread_main() MIaV::info->info("MovEncoder::run"); // Run with slightly lower priority than MovEncoderWriter AND AudioEncoder - nice(2); + if(nice(2) == -1) MIaV::info->warn("MovEncoder::run could not set nice."); FrameVector *item; Frame *in_frame; |