summaryrefslogtreecommitdiff
path: root/src/lib/grok/context.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-28 23:39:30 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-30 00:19:51 +0200
commit19a0537345d9c39962f70420299a07293fe6a975 (patch)
treefbb80397f84647d5e251b9905b102a2d715969fe /src/lib/grok/context.h
parentd78552513e17250cc9b6c5327e735ea05fa928d5 (diff)
Allow configuration of Grok or nvjpeg2k GPU encoding.
Diffstat (limited to 'src/lib/grok/context.h')
-rw-r--r--src/lib/grok/context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/grok/context.h b/src/lib/grok/context.h
index b31867cf6..bd1996b1f 100644
--- a/src/lib/grok/context.h
+++ b/src/lib/grok/context.h
@@ -99,11 +99,6 @@ public:
explicit GrokContext(DcpomaticContext* dcpomatic_context)
: _dcpomatic_context(dcpomatic_context)
{
- auto grok = Config::instance()->grok();
- if (!grok.enable) {
- return;
- }
-
boost::filesystem::path folder(_dcpomatic_context->location);
boost::filesystem::path binary_path = folder / "grk_compress";
if (!boost::filesystem::exists(binary_path)) {