From 214c3093f7e985cde610457fae9e1f97068efde5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 11 Dec 2022 22:27:34 +0100 Subject: Be explicit about the version of SMPTE 428-7 that is used for subtitles, and default to writing the 2014 namespace. --- src/subtitle_asset.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/subtitle_asset.h') diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 7448ac9a..012050b1 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -44,6 +44,7 @@ #include "array_data.h" #include "asset.h" #include "dcp_time.h" +#include "subtitle_standard.h" #include "subtitle_string.h" #include #include @@ -132,6 +133,8 @@ public: return _raw_xml; } + virtual SubtitleStandard subtitle_standard() const = 0; + static std::string format_xml (xmlpp::Document const& document, std::vector> const& namespaces); protected: -- cgit v1.2.3