diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
| commit | 5ee3348142f4cfafdbcf2c9c833843d717affc11 (patch) | |
| tree | 1c97c80eeccc6b5f515a611e35dee35b21d3b09b /src/imp_cpl.cc | |
| parent | 740938890d95e853cf13d4780a5d674c3d6c7f6f (diff) | |
Various IMF hacks.imf
Diffstat (limited to 'src/imp_cpl.cc')
| -rw-r--r-- | src/imp_cpl.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/imp_cpl.cc b/src/imp_cpl.cc index 2b36f02b..f4f27dfa 100644 --- a/src/imp_cpl.cc +++ b/src/imp_cpl.cc @@ -23,8 +23,10 @@ #include "segment.h" #include <libcxml/cxml.h> #include <boost/foreach.hpp> +#include <iostream> using std::string; +using std::list; using boost::shared_ptr; using namespace dcp; @@ -55,9 +57,11 @@ IMPCPL::IMPCPL (boost::filesystem::path file) } void -IMPCPL::resolve_refs (std::list<boost::shared_ptr<Asset> >) +IMPCPL::resolve_refs (list<shared_ptr<Asset> > assets) { - /* XXX */ + BOOST_FOREACH (shared_ptr<Segment> i, _segments) { + i->resolve_refs (assets); + } } int64_t |
