summaryrefslogtreecommitdiff
path: root/src/lib/font_id_allocator.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-05 01:59:44 +0100
committerCarl Hetherington <cth@carlh.net>2023-12-05 01:59:44 +0100
commit751379da4be48f9b911a91cf17686330dd999d0c (patch)
treeeeb73eebfe9224956e8dde72b127872b23459dd5 /src/lib/font_id_allocator.cc
parent138882d651c5fb9d1dc66d092fcca7f3762a1226 (diff)
Account for split branch in libdcp.split
Diffstat (limited to 'src/lib/font_id_allocator.cc')
-rw-r--r--src/lib/font_id_allocator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/font_id_allocator.cc b/src/lib/font_id_allocator.cc
index 70eda2b06..529361e41 100644
--- a/src/lib/font_id_allocator.cc
+++ b/src/lib/font_id_allocator.cc
@@ -26,7 +26,7 @@
#include <dcp/reel.h>
#include <dcp/reel_closed_caption_asset.h>
#include <dcp/reel_subtitle_asset.h>
-#include <dcp/subtitle_asset.h>
+#include <dcp/text_asset.h>
#include <set>
#include <string>
#include <vector>
@@ -57,7 +57,7 @@ FontIDAllocator::add_fonts_from_reels(vector<shared_ptr<dcp::Reel>> const& reels
void
-FontIDAllocator::add_fonts_from_asset(int reel_index, shared_ptr<const dcp::SubtitleAsset> asset)
+FontIDAllocator::add_fonts_from_asset(int reel_index, shared_ptr<const dcp::TextAsset> asset)
{
for (auto const& font: asset->font_data()) {
_map[Font(reel_index, asset->id(), font.first)] = 0;