diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-26 13:29:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-16 17:57:18 +0200 |
| commit | 6b13ea7afe677cc4f727371d507c49be3af984db (patch) | |
| tree | a4ae4873f38235180c38841fff7792254edf92b3 /src/lib/j2k_encoder.h | |
| parent | 9df4e636e2e35be7b17d1a507d6906d257bf83a2 (diff) | |
Create a single DcpomaticContext for all GrokContexts, rather than copying them.
I think this makes sense, and also allows us to forward-declare the
contexts in a forthcoming commit.
Diffstat (limited to 'src/lib/j2k_encoder.h')
| -rw-r--r-- | src/lib/j2k_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h index 9d9d85894..913beb5a9 100644 --- a/src/lib/j2k_encoder.h +++ b/src/lib/j2k_encoder.h @@ -125,7 +125,7 @@ private: boost::signals2::scoped_connection _server_found_connection; #ifdef DCPOMATIC_GROK - grk_plugin::DcpomaticContext _dcpomatic_context; + grk_plugin::DcpomaticContext* _dcpomatic_context; grk_plugin::GrokContext *_context; #endif |
