diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-26 13:29:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:57 +0100 |
| commit | e55d917a7e3a0d2988c3f53c3027fe890970e6a8 (patch) | |
| tree | d36c33d735a51a55ee95dcbd4debb3ffe893dcd7 /src/lib/j2k_encoder.h | |
| parent | a75cac36969942d1fcb43dadfdf60434c840af54 (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 |
