summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
commitd88c2244d4f90d54164fcc856c3ba73809756381 (patch)
tree9e330e066c2318ed1b162df6946affc94ee06a81 /src/cpl.cc
parent04b4d9f08ee30eb4dc4e62cddc4b332c69d18ac0 (diff)
Various test fixes.
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 96afc088..99c14d40 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -140,22 +140,22 @@ CPL::write_xml (boost::filesystem::path file, Standard standard, XMLMetadata met
}
list<shared_ptr<const Content> >
-CPL::assets () const
+CPL::content () const
{
- list<shared_ptr<const Content> > a;
+ list<shared_ptr<const Content> > c;
for (list<shared_ptr<Reel> >::const_iterator i = _reels.begin(); i != _reels.end(); ++i) {
if ((*i)->main_picture ()) {
- a.push_back ((*i)->main_picture()->mxf ());
+ c.push_back ((*i)->main_picture()->mxf ());
}
if ((*i)->main_sound ()) {
- a.push_back ((*i)->main_sound()->mxf ());
+ c.push_back ((*i)->main_sound()->mxf ());
}
if ((*i)->main_subtitle ()) {
- a.push_back ((*i)->main_subtitle()->subtitle_content ());
+ c.push_back ((*i)->main_subtitle()->subtitle_content ());
}
}
- return a;
+ return c;
}
bool