summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 15:05:19 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 15:05:19 +0100
commit81312913ad26aaee12eeabd3f27a537806c97049 (patch)
tree8a58899a4df44bc88f85d52707152934cc0ccb51 /src/dcp.cc
parent094117316524f12fc82adbdf721778eed04e66f6 (diff)
Fix various SNAFUs with Font ID handling.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index c1675401..b710d61b 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -176,7 +176,7 @@ DCP::read (bool keep_going, ReadErrors* errors)
throw DCPReadError ("Unknown MXF essence type");
}
} else if (boost::filesystem::extension (path) == ".ttf") {
- other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (path)));
+ other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (i->first, path)));
}
}