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>2024-01-28 02:01:57 +0100
commit957f92414a6f88dd6ef1ceb901ef0b61414bf6cd (patch)
tree80409ce9a16d9c504960bd0517ce267c62a155be /src/lib/screen.h
parent895143459866dcb373c93b8e674d1344a129a6df (diff)
Move UTC offset for KDMs from the cinema to the point of KDM creation (#2300).
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,