summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-06 23:57:22 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:59:24 +0200
commit37fa3bccbed52516b584c92f461d0050f3486158 (patch)
treef599361f1c8a5cb5085c31776cd5409d933f6a80 /src/lib/hints.cc
parente65d17fa04c411295496968f6ecee9b3a6c21fae (diff)
Adapt to some libdcp class renaming to allow open captions/closed subtitles.
Diffstat (limited to 'src/lib/hints.cc')
-rw-r--r--src/lib/hints.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc
index 1114d0acb..9a947f98d 100644
--- a/src/lib/hints.cc
+++ b/src/lib/hints.cc
@@ -42,8 +42,7 @@
#include <dcp/filesystem.h>
#include <dcp/raw_convert.h>
#include <dcp/reel.h>
-#include <dcp/reel_closed_caption_asset.h>
-#include <dcp/reel_subtitle_asset.h>
+#include <dcp/reel_text_asset.h>
#include <boost/algorithm/string.hpp>
#include <iostream>
@@ -372,7 +371,7 @@ Hints::check_loudness ()
static
bool
-subtitle_mxf_too_big (shared_ptr<dcp::SubtitleAsset> asset)
+subtitle_mxf_too_big(shared_ptr<dcp::TextAsset> asset)
{
return asset && asset->file() && dcp::filesystem::file_size(*asset->file()) >= (MAX_TEXT_MXF_SIZE - SIZE_SLACK);
}