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>2023-12-16 02:07:38 +0100
commit2da3ac05bc5c610ab621d26c6e7ff01ccccea57d (patch)
tree4977e7883514be89b968154549b4bd4e1e3a81bf /src/tools/dcpomatic.cc
parent095f151405f0e9ab512928db0b6860fd196531d7 (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 7d1d7a665..90ae920ee 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -75,6 +75,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"
@@ -1721,6 +1722,8 @@ private:
notes.Centre();
notes.ShowModal();
}
+
+ grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] "));
}
catch (exception& e)
{