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-09-14 22:27:41 +0200
commitf19abd2f18c890018269d95c345b507c6cb9d315 (patch)
tree6f886274b2f91a546270c90c6a865de5c0fe0fda /src/lib/screen.h
parent6a7b01a6703ce2f19dd3a2bf104e0ccd39150dc9 (diff)
Move UTC offset for KDMs from the cinema to the point of KDM creation (#2300).v2.17.7
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,