diff options
Diffstat (limited to 'src/lib/kdm.cc')
| -rw-r--r-- | src/lib/kdm.cc | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/lib/kdm.cc b/src/lib/kdm.cc index 5efea089c..49bfae20a 100644 --- a/src/lib/kdm.cc +++ b/src/lib/kdm.cc @@ -105,10 +105,11 @@ make_screen_kdms ( list<shared_ptr<Screen> > screens, boost::filesystem::path cpl, boost::posix_time::ptime from, - boost::posix_time::ptime to + boost::posix_time::ptime to, + libdcp::KDM::Formulation formulation ) { - list<libdcp::KDM> kdms = film->make_kdms (screens, cpl, from, to); + list<libdcp::KDM> kdms = film->make_kdms (screens, cpl, from, to, formulation); list<ScreenKDM> screen_kdms; @@ -129,10 +130,11 @@ make_cinema_kdms ( list<shared_ptr<Screen> > screens, boost::filesystem::path cpl, boost::posix_time::ptime from, - boost::posix_time::ptime to + boost::posix_time::ptime to, + libdcp::KDM::Formulation formulation ) { - list<ScreenKDM> screen_kdms = make_screen_kdms (film, screens, cpl, from, to); + list<ScreenKDM> screen_kdms = make_screen_kdms (film, screens, cpl, from, to, formulation); list<CinemaKDMs> cinema_kdms; while (!screen_kdms.empty ()) { @@ -175,10 +177,11 @@ write_kdm_files ( boost::filesystem::path cpl, boost::posix_time::ptime from, boost::posix_time::ptime to, + libdcp::KDM::Formulation formulation, boost::filesystem::path directory ) { - list<ScreenKDM> screen_kdms = make_screen_kdms (film, screens, cpl, from, to); + list<ScreenKDM> screen_kdms = make_screen_kdms (film, screens, cpl, from, to, formulation); /* Write KDMs to the specified directory */ for (list<ScreenKDM>::iterator i = screen_kdms.begin(); i != screen_kdms.end(); ++i) { @@ -195,10 +198,11 @@ write_kdm_zip_files ( boost::filesystem::path cpl, boost::posix_time::ptime from, boost::posix_time::ptime to, + libdcp::KDM::Formulation formulation, boost::filesystem::path directory ) { - list<CinemaKDMs> cinema_kdms = make_cinema_kdms (film, screens, cpl, from, to); + list<CinemaKDMs> cinema_kdms = make_cinema_kdms (film, screens, cpl, from, to, formulation); for (list<CinemaKDMs>::const_iterator i = cinema_kdms.begin(); i != cinema_kdms.end(); ++i) { boost::filesystem::path path = directory; @@ -213,10 +217,11 @@ email_kdms ( list<shared_ptr<Screen> > screens, boost::filesystem::path cpl, boost::posix_time::ptime from, - boost::posix_time::ptime to + boost::posix_time::ptime to, + libdcp::KDM::Formulation formulation ) { - list<CinemaKDMs> cinema_kdms = make_cinema_kdms (film, screens, cpl, from, to); + list<CinemaKDMs> cinema_kdms = make_cinema_kdms (film, screens, cpl, from, to, formulation); for (list<CinemaKDMs>::const_iterator i = cinema_kdms.begin(); i != cinema_kdms.end(); ++i) { |
