Don't allow negative trims to be set up via changes to play length (#2105).
[dcpomatic.git] / src / lib / job_manager.cc
index 2839bce30c379f8c98c85cffe5af54e0bd36cb50..d8c0b02f2f210a58c863fe81d072dfecdd883468 100644 (file)
 
 
 using std::dynamic_pointer_cast;
+using std::function;
 using std::list;
 using std::make_shared;
 using std::shared_ptr;
 using std::string;
 using std::weak_ptr;
 using boost::bind;
-using boost::function;
 using boost::optional;
 
 
@@ -153,6 +153,8 @@ JobManager::errors () const
 void
 JobManager::scheduler ()
 {
+       start_of_thread ("JobManager");
+
        while (true) {
 
                boost::mutex::scoped_lock lm (_mutex);