summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-06-21 22:33:02 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:36:56 +0100
commit491edba4e79656a045103a284c65b846a167d2ff (patch)
treec11e2a9f7b7f097a2320f2b6a21e69a1aab9b581 /src/lib/types.h
parent26acd1ec8426d8be48c37ca20b3af26b4bc73fa7 (diff)
Add type for text content (CCAP/subtitle).
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index af2171718..5707cf5ce 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -129,6 +129,15 @@ enum ReelType
REELTYPE_BY_LENGTH
};
+enum TextType
+{
+ TEXT_SUBTITLE,
+ TEXT_CLOSED_CAPTION
+};
+
+extern std::string text_type_to_string (TextType t);
+extern TextType string_to_text_type (std::string s);
+
/** @struct Crop
* @brief A description of the crop of an image or video.
*/