summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-27 21:18:51 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-27 21:18:51 +0200
commitc78e9f0d5e802e1bb020694870357ef271217628 (patch)
treee7fdc2f153206b24495f96f9a20814afe55c5bc6 /src/lib/dcp_examiner.cc
parentbe48763fb25bf516bd394827979342a30f2a594c (diff)
Fixes for new libdcp with multiple content versions.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
-rw-r--r--src/lib/dcp_examiner.cc4
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 ();
}