projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1148a
)
makedcp should notice when jobs are added.
author
Carl Hetherington
<cth@carlh.net>
Thu, 18 Oct 2012 13:48:11 +0000
(14:48 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 18 Oct 2012 13:48:11 +0000
(14:48 +0100)
src/tools/makedcp.cc
patch
|
blob
|
history
diff --git
a/src/tools/makedcp.cc
b/src/tools/makedcp.cc
index 51b45f2d60fb5ac495f9660030ec5c2363eba398..9fa8027e7f6333d574e00e5b2cca7b050cf0331f 100644
(file)
--- a/
src/tools/makedcp.cc
+++ b/
src/tools/makedcp.cc
@@
-154,8
+154,6
@@
main (int argc, char* argv[])
film->make_dcp (true);
- list<shared_ptr<Job> > jobs = JobManager::instance()->get ();
-
bool all_done = false;
bool first = true;
while (!all_done) {
@@
-170,6
+168,7
@@
main (int argc, char* argv[])
first = false;
all_done = true;
+ list<shared_ptr<Job> > jobs = JobManager::instance()->get ();
for (list<shared_ptr<Job> >::iterator i = jobs.begin(); i != jobs.end(); ++i) {
if (progress) {
cout << (*i)->name() << ": ";