X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcopy_dcp_details_to_film.cc;fp=src%2Flib%2Fcopy_dcp_details_to_film.cc;h=d73ee8792a96f502a4ba09e6cf58ec1f55ef973a;hb=acee88762b4588c746f93dec3f210283589bb2fc;hp=a009735fb7c32a02986b2b59f5f8a7a77718e635;hpb=84f34d497d26270753a76fb323231f4ece9ff18d;p=dcpomatic.git 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 #include + using std::map; using std::string; +using std::vector; using boost::shared_ptr; + void copy_dcp_details_to_film (shared_ptr dcp, shared_ptr film) { @@ -67,7 +70,10 @@ copy_dcp_details_to_film (shared_ptr dcp, shared_ptr fil } film->set_ratings (dcp->ratings()); - film->set_content_version (dcp->content_version()); + + vector cv; + cv.push_back (dcp->content_version()); + film->set_content_versions (cv); }