summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
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.
*/