diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-28 09:06:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-28 09:08:46 +0100 |
| commit | bcf62b5e4a268554b7960e5f739b24f9eafb38a5 (patch) | |
| tree | 904fb5959dcd2401daba2d42c53d3a0736604bff /src/lib/grok/context.h | |
| parent | bb04b67f593c1da37b76af9507f3e28e9ab15f74 (diff) | |
WIP: use fraction for DCP frame rate.archive-frame-rates
This will allow archival rates to be expressed precisely.
Diffstat (limited to 'src/lib/grok/context.h')
| -rw-r--r-- | src/lib/grok/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |
