summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
commitcbd4450197a083bf58bda510e626f73ba583cb66 (patch)
tree2be308772512539570beab36beab02bde72d6d4b /src/lib/types.h
parent1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff)
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index 3337087eb..b2bff78fa 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -129,6 +129,16 @@ enum ReelType
REELTYPE_BY_LENGTH
};
+/** Type of captions.
+ * For better or worse DoM has uses two names for text that appears
+ * with the DCP:
+ *
+ * open captions: text that is shown to everybody on-screen (aka subtitles).
+ * closed captions: text that is shown to some viewers using some other method.
+ *
+ * There is also still use of the word `subtitle' in the code; these are the
+ * same as open captions in DoM.
+ */
enum CaptionType
{
CAPTION_OPEN,