diff options
Diffstat (limited to 'src/interop_subtitle_asset.cc')
| -rw-r--r-- | src/interop_subtitle_asset.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc index d26143a4..32c3f66a 100644 --- a/src/interop_subtitle_asset.cc +++ b/src/interop_subtitle_asset.cc @@ -40,6 +40,7 @@ #include "compose.hpp" #include "dcp_assert.h" #include "equality_options.h" +#include "filesystem.h" #include "font_asset.h" #include "file.h" #include "interop_load_font_node.h" @@ -75,7 +76,7 @@ InteropSubtitleAsset::InteropSubtitleAsset (boost::filesystem::path file) _raw_xml = dcp::file_to_string (file); auto xml = make_shared<cxml::Document>("DCSubtitle"); - xml->read_file (file); + xml->read_file(dcp::filesystem::fix_long_path(file)); _id = xml->string_child ("SubtitleID"); _reel_number = xml->string_child ("ReelNumber"); _language = xml->string_child ("Language"); |
