summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-27 22:27:02 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-27 22:27:02 +0100
commita9e6a22b0462451f1e533082ba588a2cf4ba2f86 (patch)
tree29a4d40ffc68417adfdaa54ff8db6a2e7c262bba /src/dcp.cc
parentc9cf540a0fee44b724d1f879489dd7e7f51c60c7 (diff)
Fix paths in OV DCP searches.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index b9f43472..9bed7e93 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -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)));