summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_batch.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 12:02:19 +0200
committerCarl Hetherington <cth@carlh.net>2024-01-28 02:01:57 +0100
commitd2350127d51cb6afa2892d888aea6fea06be074d (patch)
tree6ab763e885b3c86a0a65a5079938d71c37a0b26e /src/tools/dcpomatic_batch.cc
parentb6ea4bb12f98b61d32fa305d4b5fee548f5ebfd6 (diff)
Explicitly set up Grok logger rather than relying on a static variable.
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
-rw-r--r--src/tools/dcpomatic_batch.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc
index 3bec88c6b..66262f2eb 100644
--- a/src/tools/dcpomatic_batch.cc
+++ b/src/tools/dcpomatic_batch.cc
@@ -32,6 +32,7 @@
#include "lib/config.h"
#include "lib/dcpomatic_socket.h"
#include "lib/film.h"
+#include "lib/grok/context.h"
#include "lib/job.h"
#include "lib/job_manager.h"
#include "lib/make_dcp.h"
@@ -499,6 +500,8 @@ class App : public wxApp
}
}
+ grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] "));
+
return true;
}