diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-27 21:18:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-27 21:18:51 +0200 |
| commit | c78e9f0d5e802e1bb020694870357ef271217628 (patch) | |
| tree | e7fdc2f153206b24495f96f9a20814afe55c5bc6 /src/lib/dcp_examiner.cc | |
| parent | be48763fb25bf516bd394827979342a30f2a594c (diff) | |
Fixes for new libdcp with multiple content versions.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 65cfb884e..27eb74a5d 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -260,7 +260,9 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant) _three_d = !cpl->reels().empty() && cpl->reels().front()->main_picture() && dynamic_pointer_cast<dcp::StereoPictureAsset> (cpl->reels().front()->main_picture()->asset()); _ratings = cpl->ratings(); - _content_version = cpl->content_version().label_text; + BOOST_FOREACH (dcp::ContentVersion i, cpl->content_versions()) { + _content_versions.push_back (i.label_text); + } _cpl = cpl->id (); } |
