From f68a99a93b7a735d9983d8946f058a71f5b11cd4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 May 2023 23:12:40 +0200 Subject: Make it possible to write subtitle assets without any tags. --- src/interop_subtitle_asset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interop_subtitle_asset.h') diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 3005c8fc..83f552fd 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -76,10 +76,10 @@ public: void add_font (std::string load_id, dcp::ArrayData data) override; - std::string xml_as_string () const override; + std::string xml_as_string(FontTags font_tags = FontTags::INCLUDE) const override; /** Write this content to an XML file with its fonts alongside */ - void write (boost::filesystem::path path) const override; + void write(boost::filesystem::path path, FontTags font_tags = FontTags::INCLUDE) const override; void resolve_fonts (std::vector> assets); void set_font_file (std::string load_id, boost::filesystem::path file); -- cgit v1.2.3