summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-24 23:19:08 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-24 23:19:08 +0100
commitf8005516a681b805ccc2d929f63312ac711fdc24 (patch)
tree9785795f122a1be7fcae2498dd9c7ac80b219fcd /src/cpl.cc
parente9ab736ffa8088301edd658afcc98a9add517205 (diff)
Allow setting of a CPL's MXF keys.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 4c4d2e75..5d57c7c7 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -377,3 +377,11 @@ CPL::asset_from_id (list<PathAssetMap> asset_maps, string id) const
return make_pair ("", shared_ptr<const parse::AssetMapAsset> ());
}
+
+void
+CPL::set_mxf_keys (Key key)
+{
+ for (list<shared_ptr<Reel> >::const_iterator i = _reels.begin(); i != _reels.end(); ++i) {
+ (*i)->set_mxf_keys (key);
+ }
+}