diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 12:02:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:57 +0100 |
| commit | d2350127d51cb6afa2892d888aea6fea06be074d (patch) | |
| tree | 6ab763e885b3c86a0a65a5079938d71c37a0b26e /src/tools/dcpomatic.cc | |
| parent | b6ea4bb12f98b61d32fa305d4b5fee548f5ebfd6 (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.cc | 3 |
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) { |
