diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-13 22:17:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-14 20:28:47 +0100 |
| commit | dd9711df97e605e9015445d00337164b40f1bd00 (patch) | |
| tree | 6ee851f0187df79c32928d3c8eda5efc545bdbbf /src/lib/screen.cc | |
| parent | 0185ba27b0e9c52a173147c1380ec5f345109afc (diff) | |
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.
Diffstat (limited to 'src/lib/screen.cc')
| -rw-r--r-- | src/lib/screen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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(), |
