]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/avcodec.h: add AV_CODEC_ID_TTML
authorMarton Balint <cus@passwd.hu>
Sat, 19 May 2018 09:06:23 +0000 (11:06 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 8 Jun 2018 21:21:18 +0000 (23:21 +0200)
Signed-off-by: Marton Balint <cus@passwd.hu>
libavcodec/avcodec.h
libavcodec/codec_desc.c
libavcodec/version.h

index fb0c6fae70b33d9ab2ff49813022f5e37456e25f..c90166deb676222f4a12b3eb7d89093bc24b33f7 100644 (file)
@@ -665,6 +665,7 @@ enum AVCodecID {
     AV_CODEC_ID_PJS,
     AV_CODEC_ID_ASS,
     AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
+    AV_CODEC_ID_TTML,
 
     /* other specific kind of codecs (generally used for attachments) */
     AV_CODEC_ID_FIRST_UNKNOWN = 0x18000,           ///< A dummy ID pointing at the start of various fake codecs.
index 79552a910d647ec4e50332ffa1074bec933d7a3c..36e9a9bbc7a5897b7e70100d98edb5b7cd6e72cd 100644 (file)
@@ -3047,6 +3047,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .long_name = NULL_IF_CONFIG_SMALL("HDMV Text subtitle"),
         .props     = AV_CODEC_PROP_TEXT_SUB,
     },
+    {
+        .id        = AV_CODEC_ID_TTML,
+        .type      = AVMEDIA_TYPE_SUBTITLE,
+        .name      = "ttml",
+        .long_name = NULL_IF_CONFIG_SMALL("Timed Text Markup Language"),
+        .props     = AV_CODEC_PROP_TEXT_SUB,
+    },
+
 
     /* other kind of codecs and pseudo-codecs */
     {
index 5a70093eaa8b9c1d2ca55f99bbc1e2108a4c736b..b9752ce62c701296e4a6d70ad0a11f9cc9223dfc 100644 (file)
@@ -28,8 +28,8 @@
 #include "libavutil/version.h"
 
 #define LIBAVCODEC_VERSION_MAJOR  58
-#define LIBAVCODEC_VERSION_MINOR  19
-#define LIBAVCODEC_VERSION_MICRO 105
+#define LIBAVCODEC_VERSION_MINOR  20
+#define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \