summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-20 15:11:57 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-20 15:11:57 +0100
commitda228f37426ac999f02e03e558acef5501b22361 (patch)
tree201e133ec9bd72c0a3f5f2182476717994809ff7 /src/cpl.cc
parent454e76146a5bd522e47ebbedd490e89ef95dd186 (diff)
Tidy up KDM generation from CPLs a bit.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 535fd77f..b76e8272 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -153,20 +153,20 @@ CPL::write_xml (boost::filesystem::path file, Standard standard, shared_ptr<cons
set_file (file);
}
-list<shared_ptr<const Content> >
-CPL::content () const
+list<shared_ptr<const ReelAsset> >
+CPL::reel_assets () const
{
- list<shared_ptr<const Content> > c;
+ list<shared_ptr<const ReelAsset> > c;
for (list<shared_ptr<Reel> >::const_iterator i = _reels.begin(); i != _reels.end(); ++i) {
if ((*i)->main_picture ()) {
- c.push_back ((*i)->main_picture()->mxf ());
+ c.push_back ((*i)->main_picture());
}
if ((*i)->main_sound ()) {
- c.push_back ((*i)->main_sound()->mxf ());
+ c.push_back ((*i)->main_sound());
}
if ((*i)->main_subtitle ()) {
- c.push_back ((*i)->main_subtitle()->subtitle_content ());
+ c.push_back ((*i)->main_subtitle());
}
}