summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic.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.cc
parentb6ea4bb12f98b61d32fa305d4b5fee548f5ebfd6 (diff)
Explicitly set up Grok logger rather than relying on a static variable.
Diffstat (limited to 'src/tools/dcpomatic.cc')
-rw-r--r--src/tools/dcpomatic.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index d0a7088d1..e5c2841d0 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -76,6 +76,7 @@
#include "lib/ffmpeg_encoder.h"
#include "lib/film.h"
#include "lib/font_config.h"
+#include "lib/grok/context.h"
#include "lib/hints.h"
#include "lib/job_manager.h"
#include "lib/kdm_with_metadata.h"
@@ -1722,6 +1723,8 @@ private:
notes.Centre();
notes.ShowModal();
}
+
+ grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] "));
}
catch (exception& e)
{