summaryrefslogtreecommitdiff
path: root/server/mov_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/mov_encoder.cc')
-rw-r--r--server/mov_encoder.cc2
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;