summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
commit78c94420750c505e59d584c34b33acc953946c2a (patch)
treec58e818e8948d24d0f49dde46fe7bef3feea90ca /src/cpl.cc
parent15137597824b263c875bd427f7d121eae28d45a6 (diff)
Small bits of tidying up and comments.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index fc1b878c..215640d3 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -103,6 +103,12 @@ CPL::add (boost::shared_ptr<Reel> reel)
_reels.push_back (reel);
}
+/** Write an CompositonPlaylist XML file.
+ * @param file Filename to write.
+ * @param standard INTEROP or SMPTE.
+ * @param metadata Metadata to use.
+ * @param signer Signer to sign the CPL, or 0 to add no signature.
+ */
void
CPL::write_xml (boost::filesystem::path file, Standard standard, XMLMetadata metadata, shared_ptr<const Signer> signer) const
{
@@ -214,6 +220,10 @@ CPL::encrypted () const
return false;
}
+/** Add a KDM to this CPL. If the KDM is for any of this CPLs assets it will be used
+ * to decrypt those assets.
+ * @param kdm KDM.
+ */
void
CPL::add (KDM const & kdm)
{