From 491edba4e79656a045103a284c65b846a167d2ff Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 21 Jun 2018 22:33:02 +0100 Subject: Add type for text content (CCAP/subtitle). --- src/lib/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/lib/types.h') 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. */ -- cgit v1.2.3