projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fc210
)
Fix missing log in dcpomatic_create (#1597).
author
Carl Hetherington
<cth@carlh.net>
Tue, 3 Sep 2019 00:04:28 +0000
(
01:04
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 3 Sep 2019 00:05:22 +0000
(
01:05
+0100)
Backported from
7b8ae6c203d4b2de98841cba312d35b355df5579
in v2.15.x.
src/tools/dcpomatic_create.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_create.cc
b/src/tools/dcpomatic_create.cc
index 3ab84d1161dc9524e92dc6494bccd6a953ae1496..f1df658c3626b6cf4406b755a5786dafc4a5572b 100644
(file)
--- a/
src/tools/dcpomatic_create.cc
+++ b/
src/tools/dcpomatic_create.cc
@@
-34,6
+34,7
@@
#include "lib/dcp_content.h"
#include "lib/create_cli.h"
#include "lib/version.h"
+#include "lib/dcpomatic_log.h"
#include <dcp/exceptions.h>
#include <libxml++/libxml++.h>
#include <boost/filesystem.hpp>
@@
-88,6
+89,8
@@
main (int argc, char* argv[])
try {
shared_ptr<Film> film (new Film(cc.output_dir));
+ dcpomatic_log = film->log ();
+ dcpomatic_log->set_types (Config::instance()->log_types());
if (cc.template_name) {
film->use_template (cc.template_name.get());
}