From 437f928f7d7209c9e4c8ea3e3b5d0e8dc43b54a8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 May 2016 11:26:50 +0100 Subject: Add reporting of DCP type. --- src/cpl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/cpl.h') diff --git a/src/cpl.h b/src/cpl.h index 9d22cbd4..5ff320d2 100644 --- a/src/cpl.h +++ b/src/cpl.h @@ -114,6 +114,10 @@ public: int64_t duration () const; + boost::optional standard () const { + return _standard; + } + protected: /** @return type string for PKLs for this asset */ std::string pkl_type (Standard standard) const; @@ -129,6 +133,9 @@ private: std::string _content_version_id; ///< <Id> in <ContentVersion> std::string _content_version_label_text; ///< <LabelText> in <ContentVersion> std::list > _reels; + + /** Standard of CPL that was read in */ + boost::optional _standard; }; } -- cgit v1.2.3