diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-20 15:11:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-20 15:11:57 +0100 |
| commit | da228f37426ac999f02e03e558acef5501b22361 (patch) | |
| tree | 201e133ec9bd72c0a3f5f2182476717994809ff7 /src/cpl.cc | |
| parent | 454e76146a5bd522e47ebbedd490e89ef95dd186 (diff) | |
Tidy up KDM generation from CPLs a bit.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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()); } } |
