Account for split branch in libdcp.
[dcpomatic.git] / src / lib / font_id_allocator.cc
index 70eda2b0613caa2402a24502d9e89d7a769073ed..529361e41e9be40e65412e8710f65aeeb969ad02 100644 (file)
@@ -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;