summaryrefslogtreecommitdiff
path: root/src/lib/screen.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-01 22:30:58 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-08 17:17:15 +0100
commitf4f5f6486105cc87f3b4f98bdf3bd5be74aa26a0 (patch)
tree40e722e1d26bc18ab8df0d0594e1193929050fbf /src/lib/screen.h
parent64b8ca8c4f9064e5142633aa2676b20f0ea0f10d (diff)
Move UTC offset for KDMs from the cinema to the point of KDM creation (#2300).v2.17.6
Diffstat (limited to 'src/lib/screen.h')
-rw-r--r--src/lib/screen.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h
index 7f01cdf27..0a275aa34 100644
--- a/src/lib/screen.h
+++ b/src/lib/screen.h
@@ -23,12 +23,13 @@
#define DCPOMATIC_SCREEN_H
-#include "kdm_with_metadata.h"
#include "kdm_recipient.h"
#include "kdm_util.h"
+#include "kdm_with_metadata.h"
#include "trusted_device.h"
#include <dcp/certificate.h>
#include <dcp/decrypted_kdm.h>
+#include <dcp/utc_offset.h>
#include <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <string>
@@ -78,8 +79,8 @@ KDMWithMetadataPtr
kdm_for_screen (
std::function<dcp::DecryptedKDM (dcp::LocalTime, dcp::LocalTime)> make_kdm,
std::shared_ptr<const dcpomatic::Screen> screen,
- boost::posix_time::ptime valid_from,
- boost::posix_time::ptime valid_to,
+ dcp::LocalTime valid_from,
+ dcp::LocalTime valid_to,
dcp::Formulation formulation,
bool disable_forensic_marking_picture,
boost::optional<int> disable_forensic_marking_audio,