diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-04 17:24:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:56:50 +0200 |
| commit | acee88762b4588c746f93dec3f210283589bb2fc (patch) | |
| tree | 42cb818a671fb90f070d1076a396d1682ce5454c /src/lib/copy_dcp_details_to_film.cc | |
| parent | 84f34d497d26270753a76fb323231f4ece9ff18d (diff) | |
Support CPL metadata.cpl-metadata
Diffstat (limited to 'src/lib/copy_dcp_details_to_film.cc')
| -rw-r--r-- | src/lib/copy_dcp_details_to_film.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/copy_dcp_details_to_film.cc b/src/lib/copy_dcp_details_to_film.cc index a009735fb..d73ee8792 100644 --- a/src/lib/copy_dcp_details_to_film.cc +++ b/src/lib/copy_dcp_details_to_film.cc @@ -29,10 +29,13 @@ #include <boost/shared_ptr.hpp> #include <map> + using std::map; using std::string; +using std::vector; using boost::shared_ptr; + void copy_dcp_details_to_film (shared_ptr<const DCPContent> dcp, shared_ptr<Film> film) { @@ -67,7 +70,10 @@ copy_dcp_details_to_film (shared_ptr<const DCPContent> dcp, shared_ptr<Film> fil } film->set_ratings (dcp->ratings()); - film->set_content_version (dcp->content_version()); + + vector<string> cv; + cv.push_back (dcp->content_version()); + film->set_content_versions (cv); } |
