diff options
Diffstat (limited to 'src/interop_subtitle_asset.cc')
| -rw-r--r-- | src/interop_subtitle_asset.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc index 24cd907d..0faf7bd5 100644 --- a/src/interop_subtitle_asset.cc +++ b/src/interop_subtitle_asset.cc @@ -264,6 +264,16 @@ InteropSubtitleAsset::add_font_assets (vector<shared_ptr<Asset>>& assets) void +InteropSubtitleAsset::add_font_assets(vector<shared_ptr<const Asset>>& assets) +{ + for (auto const& i: _fonts) { + DCP_ASSERT (i.file); + assets.push_back (make_shared<FontAsset>(i.uuid, i.file.get())); + } +} + + +void InteropSubtitleAsset::add_to_assetmap (AssetMap& asset_map, boost::filesystem::path root) const { Asset::add_to_assetmap(asset_map, root); |
