diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-27 22:27:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-27 22:27:02 +0100 |
| commit | a9e6a22b0462451f1e533082ba588a2cf4ba2f86 (patch) | |
| tree | 29a4d40ffc68417adfdaa54ff8db6a2e7c262bba /src/dcp.cc | |
| parent | c9cf540a0fee44b724d1f879489dd7e7f51c60c7 (diff) | |
Fix paths in OV DCP searches.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -55,6 +55,7 @@ using std::ofstream; using std::ostream; using std::copy; using std::back_inserter; +using std::make_pair; using boost::shared_ptr; using boost::lexical_cast; using namespace libdcp; @@ -271,7 +272,7 @@ DCP::read (bool require_mxfs) /* Cross-check */ /* XXX */ - _asset_maps.push_back (asset_map); + _asset_maps.push_back (make_pair (boost::filesystem::absolute (_directory).string(), asset_map)); for (list<string>::iterator i = files.cpls.begin(); i != files.cpls.end(); ++i) { _cpls.push_back (shared_ptr<CPL> (new CPL (_directory, *i, _asset_maps, require_mxfs))); |
