summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-09 23:18:13 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-09 23:18:13 +0000
commit41daa5821b3d3b0f450094fbf0d1e37a449f482c (patch)
tree623e5aa9370dbb78bba14e9833a4ea0d1e026e22 /src/dcp.cc
parente651d843c513e8dbf0967735ea702a3795ac321d (diff)
Comment tweaks.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 5db29beb..a5e21d9f 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -307,6 +307,12 @@ CPL::CPL (string directory, string name, ContentKind content_kind, int length, i
_uuid = make_uuid ();
}
+/** Construct a CPL object from a XML file.
+ * @param directory The directory containing this CPL's DCP.
+ * @param file The CPL XML filename.
+ * @param asset_map The corresponding asset map.
+ * @param require_mxfs true to throw an exception if a required MXF file does not exist.
+ */
CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, bool require_mxfs)
: _directory (directory)
, _content_kind (FEATURE)