X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fcpl.h;h=5ff320d2d8bf844366f8abbfa43ea9e5e1003ef7;hb=437f928f7d7209c9e4c8ea3e3b5d0e8dc43b54a8;hp=9d22cbd48f7407bd828e1e37d37a2ff7471b7f28;hpb=23644a666637d3db3ccf2007a7cbbcdf4f2d29a2;p=libdcp.git 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; }; }