diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-26 18:41:41 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-26 18:41:41 +0000 |
| commit | 2e93ca3670e5581b5523f60130b38594de10d6c3 (patch) | |
| tree | 6ed18ed07bccf77b2d172ef7681fce981956815f /src/cpl.cc | |
| parent | 9ed550de7b98ca2f8467dd134a9c0ad7f1868f23 (diff) | |
| parent | 447cc7ddec5ace7bb47df35192ef02e7c19bf9b3 (diff) | |
Merge master; MXF subtitle stuff not included.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -158,6 +158,7 @@ list<shared_ptr<const Content> > CPL::content () const { list<shared_ptr<const Content> > 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 ()); @@ -251,3 +252,17 @@ CPL::resolve_refs (list<shared_ptr<Object> > objects) (*i)->resolve_refs (objects); } } + +string +CPL::pkl_type (Standard standard) const +{ + switch (standard) { + case INTEROP: + return "text/xml;asdcpKind=CPL"; + case SMPTE: + return "text/xml"; + default: + assert (false); + } +} + |
