summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-11 22:27:34 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-18 00:35:01 +0100
commit214c3093f7e985cde610457fae9e1f97068efde5 (patch)
tree7f8d919ec8e6b6bf6dafdbe141e1c34e65914d16 /src/subtitle_asset.h
parentb94821d7953dae7d9e58f703e66dca59e9086216 (diff)
Be explicit about the version of SMPTE 428-7 that is used for subtitles,v1.8.602389-vpos
and default to writing the 2014 namespace.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h3
1 files changed, 3 insertions, 0 deletions
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 <libcxml/cxml.h>
#include <boost/shared_array.hpp>
@@ -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<std::pair<std::string, std::string>> const& namespaces);
protected: