diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-21 23:32:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-21 23:51:38 +0200 |
| commit | 5f3a88d3ab1e9c1a13d7e61fc37a0c4cef8df9a5 (patch) | |
| tree | d9d66af89bd2c9864ad5242e5aaece551e72ce1e /src/lib/dcp_examiner.cc | |
| parent | f5980767b7d1d9b39186dd13f12b9d8297a87aef (diff) | |
Allow DCP content to store and serialise metadata.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index a7d451eca..d04dacdd6 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -23,6 +23,7 @@ #include "exceptions.h" #include "image.h" #include "config.h" +#include "util.h" #include <dcp/dcp.h> #include <dcp/decrypted_kdm.h> #include <dcp/cpl.h> @@ -236,6 +237,8 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant) _standard = cpl->standard().get(); _three_d = !cpl->reels().empty() && cpl->reels().front()->main_picture() && dynamic_pointer_cast<dcp::StereoPictureAsset> (cpl->reels().front()->main_picture()->asset()); + _ratings = list_to_vector (cpl->ratings()); + _content_version = cpl->content_version_label_text (); _cpl = cpl->id (); } |
