summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-21 11:15:45 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-21 11:15:45 +0200
commit540b9948e4a2fd4e52a2b29ed2089a0dc61d4cc6 (patch)
tree01047b4903949d4abcc505b0c3f0558f83c76de8
parent29f2612867f49041ddde201e4b8f4c6443685179 (diff)
parent791e68abfcde03982105896505c91863b7795c5e (diff)
Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.21
-rw-r--r--src/interop_text_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_text_asset.cc b/src/interop_text_asset.cc
index e9d94bc8..01e0f89a 100644
--- a/src/interop_text_asset.cc
+++ b/src/interop_text_asset.cc
@@ -73,7 +73,7 @@ using namespace dcp;
InteropTextAsset::InteropTextAsset(boost::filesystem::path file)
: TextAsset(file)
{
- _raw_xml = dcp::file_to_string (file);
+ _raw_xml = dcp::file_to_string(file, 10 * 1024 * 1024);
auto xml = make_shared<cxml::Document>("DCSubtitle");
xml->read_file(dcp::filesystem::fix_long_path(file));