summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-09 00:43:13 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-09 00:43:13 +0100
commit87c2c54ebfdc1e6ceb0673058c01fd30e13258c2 (patch)
tree10a7d3427cb1f399fc9cb298efff580247427bdd /src/subtitle_asset.h
parent34be688550e3acdd99c3ca612e7e4696710f3438 (diff)
Switch to UUIDs for Interop image subtitle identification (rather than indices). Basic and untested SMPTE image subtitle support.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index 1108514a..31cca185 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -56,6 +56,7 @@ namespace dcp
{
class SubtitleString;
+class SubtitleImage;
class FontNode;
class TextNode;
class SubtitleNode;
@@ -164,6 +165,10 @@ protected:
/** TTF font data that we need */
std::list<Font> _fonts;
+ /** Map of image subtitles to UUIDs */
+ typedef std::map<boost::shared_ptr<dcp::SubtitleImage>, std::string> ImageUUIDMap;
+ ImageUUIDMap _image_subtitle_uuid;
+
private:
friend struct ::pull_fonts_test1;
friend struct ::pull_fonts_test2;