summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/dcpomatic_create.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index a3adc8e3e..c14522a02 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -29,6 +29,7 @@
#include "lib/ratio.h"
#include "lib/image_content.h"
#include "lib/video_content.h"
+#include "lib/cross.h"
#include <libxml++/libxml++.h>
#include <boost/filesystem.hpp>
#include <getopt.h>
@@ -235,7 +236,10 @@ main (int argc, char* argv[])
JobManager* jm = JobManager::instance ();
- while (jm->work_to_do ()) {}
+ while (jm->work_to_do ()) {
+ dcpomatic_sleep (1);
+ }
+
while (signal_manager->ui_idle() > 0) {}
ContentList content = film->content ();