summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-24 11:26:50 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-24 11:26:50 +0100
commit437f928f7d7209c9e4c8ea3e3b5d0e8dc43b54a8 (patch)
tree50feb1d8277cf6ad7fb8da83b36b0d5782c55326 /src/cpl.h
parent23644a666637d3db3ccf2007a7cbbcdf4f2d29a2 (diff)
Add reporting of DCP type.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h7
1 files changed, 7 insertions, 0 deletions
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> 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; ///< &lt;Id&gt; in &lt;ContentVersion&gt;
std::string _content_version_label_text; ///< &lt;LabelText&gt; in &lt;ContentVersion&gt;
std::list<boost::shared_ptr<Reel> > _reels;
+
+ /** Standard of CPL that was read in */
+ boost::optional<Standard> _standard;
};
}