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)));
}
}