This has the potential to add unwanted whitespace and newlines
which are significant in subtitles. I think we'd have to write
the XML ourselves to get around this.
subtitles_as_xml (root, 250, INTEROP);
- return doc.write_to_string_formatted ("UTF-8");
+ return doc.write_to_string ("UTF-8");
}
void
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 */