lavc: add codec descriptors for TTF and OTF.
authorNicolas George <george@nsup.org>
Wed, 16 Apr 2014 21:01:52 +0000 (23:01 +0200)
committerNicolas George <george@nsup.org>
Tue, 29 Apr 2014 11:24:18 +0000 (13:24 +0200)
libavcodec/codec_desc.c
tools/missing_codec_desc

index 0595015..e461a10 100644 (file)
@@ -2652,6 +2652,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
 
     /* other kind of codecs and pseudo-codecs */
     {
+        .id        = AV_CODEC_ID_TTF,
+        .type      = AVMEDIA_TYPE_DATA,
+        .name      = "ttf",
+        .long_name = NULL_IF_CONFIG_SMALL("TrueType font"),
+    },
+    {
         .id        = AV_CODEC_ID_BINTEXT,
         .type      = AVMEDIA_TYPE_VIDEO,
         .name      = "bintext",
@@ -2673,6 +2679,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .props     = AV_CODEC_PROP_INTRA_ONLY,
     },
     {
+        .id        = AV_CODEC_ID_OTF,
+        .type      = AVMEDIA_TYPE_DATA,
+        .name      = "otf",
+        .long_name = NULL_IF_CONFIG_SMALL("OpenType font"),
+    },
+    {
         .id        = AV_CODEC_ID_SMPTE_KLV,
         .type      = AVMEDIA_TYPE_DATA,
         .name      = "klv",
index 093d02e..e1d3d60 100755 (executable)
@@ -14,7 +14,6 @@ known_AV_CODEC_ID_NONE=1
 known_AV_CODEC_ID_FIRST_AUDIO=1
 known_AV_CODEC_ID_FIRST_SUBTITLE=1
 known_AV_CODEC_ID_FIRST_UNKNOWN=1
-known_AV_CODEC_ID_TTF=1
 known_AV_CODEC_ID_PROBE=1
 known_AV_CODEC_ID_MPEG2TS=1
 known_AV_CODEC_ID_MPEG4SYSTEMS=1