From dd9711df97e605e9015445d00337164b40f1bd00 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 13 Dec 2022 22:17:31 +0100 Subject: Bump libdcp to a version with UTCOffset. This is needed for 2.17.x but I ran the tests on main and they look OK, so doing it this way should save a few merge conflicts. --- src/lib/screen.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/screen.cc') diff --git a/src/lib/screen.cc b/src/lib/screen.cc index a9291e8f0..2c821eceb 100644 --- a/src/lib/screen.cc +++ b/src/lib/screen.cc @@ -88,8 +88,8 @@ kdm_for_screen ( } auto cinema = screen->cinema; - dcp::LocalTime const begin(valid_from, cinema ? cinema->utc_offset_hour() : 0, cinema ? cinema->utc_offset_minute() : 0); - dcp::LocalTime const end (valid_to, cinema ? cinema->utc_offset_hour() : 0, cinema ? cinema->utc_offset_minute() : 0); + dcp::LocalTime const begin(valid_from, dcp::UTCOffset(cinema ? cinema->utc_offset_hour() : 0, cinema ? cinema->utc_offset_minute() : 0)); + dcp::LocalTime const end (valid_to, dcp::UTCOffset(cinema ? cinema->utc_offset_hour() : 0, cinema ? cinema->utc_offset_minute() : 0)); auto const kdm = film->make_kdm ( screen->recipient.get(), -- cgit v1.2.3