From bcf62b5e4a268554b7960e5f739b24f9eafb38a5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 28 Feb 2026 09:06:44 +0100 Subject: WIP: use fraction for DCP frame rate. This will allow archival rates to be expressed precisely. --- src/lib/grok/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/grok/context.h') diff --git a/src/lib/grok/context.h b/src/lib/grok/context.h index b31867cf6..106c4e828 100644 --- a/src/lib/grok/context.h +++ b/src/lib/grok/context.h @@ -226,7 +226,7 @@ public: 12, device, _dcpomatic_context->film->resolution() == Resolution::FOUR_K, - _dcpomatic_context->film->video_frame_rate(), + std::round(_dcpomatic_context->film->video_frame_rate().as_float()), _dcpomatic_context->film->video_bit_rate(VideoEncoding::JPEG2000), grok.licence_server, grok.licence)) { -- cgit v1.2.3