summaryrefslogtreecommitdiff
path: root/src/mov_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mov_encoder.cc')
-rw-r--r--src/mov_encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mov_encoder.cc b/src/mov_encoder.cc
index 6ac5876..4794561 100644
--- a/src/mov_encoder.cc
+++ b/src/mov_encoder.cc
@@ -75,7 +75,7 @@ void MovEncoder::thread_main()
info->info("MovEncoder::run");
// Run with slightly lower priority than MovEncoderWriter AND AudioEncoder
- nice(2);
+ if(nice(2) == -1) info->warn("Could not set MovEncoder nice.");
FrameVector *item;
Frame *in_frame;