Create a single DcpomaticContext for all GrokContexts, rather than copying them.
[dcpomatic.git] / src / lib / j2k_encoder.h
index 9d9d8589447baf83195438062f2c37f996821263..913beb5a91b5e0e9eb8bb8b5281b8bc021d0bdea 100644 (file)
@@ -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