diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-09 16:01:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-09 16:01:47 +0000 |
| commit | 6761022cce1187ad11ddf0b8b7f2d6f7fcf6e64e (patch) | |
| tree | b6134fced901d2047ea10830f33325de96686256 /src | |
| parent | 6106b2d2b9fc173e2cfa4cbae569ea4177a2779c (diff) | |
Don't use write_to_string_formatted with subs as it introduces lots of extra spaces into the actual subs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/interop_subtitle_asset.cc | 2 | ||||
| -rw-r--r-- | src/smpte_subtitle_asset.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc index 99511222..cfd37cb8 100644 --- a/src/interop_subtitle_asset.cc +++ b/src/interop_subtitle_asset.cc @@ -102,7 +102,7 @@ InteropSubtitleAsset::xml_as_string () const subtitles_as_xml (root, 250, INTEROP); - return doc.write_to_string_formatted ("UTF-8"); + return doc.write_to_string ("UTF-8"); } void diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index 3b30a0c7..c2456b9c 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -278,7 +278,7 @@ SMPTESubtitleAsset::xml_as_string () const subtitles_as_xml (root->add_child ("SubtitleList", "dcst"), _time_code_rate, SMPTE); - return doc.write_to_string_formatted ("UTF-8"); + return doc.write_to_string ("UTF-8"); } /** Write this content to a MXF file */ |
