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-02-10 23:07:19 +0100
commit9ddbf3bf5ad97aa2be2b37af56e4193e5e5de1a8 (patch)
treed833ae122cea001b1f2a0b9a6d8788218c2792ee /src/lib/screen.h
parentc4b409be0183508431e7ddbe4ad9bafe1f78a88e (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 84cecb80b..2fd1b3745 100644
--- a/src/lib/screen.h
+++ b/src/lib/screen.h
@@ -23,10 +23,11 @@
#define DCPOMATIC_SCREEN_H
-#include "kdm_with_metadata.h"
#include "kdm_recipient.h"
+#include "kdm_with_metadata.h"
#include "trusted_device.h"
#include <dcp/certificate.h>
+#include <dcp/utc_offset.h>
#include <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <string>
@@ -77,8 +78,8 @@ kdm_for_screen (
std::shared_ptr<const Film> film,
boost::filesystem::path cpl,
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