Skip to content

Commit

Permalink
lavc: add codec descriptors for TTF and OTF.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cigaes committed Apr 29, 2014
1 parent fa7bc7e commit 892e2c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions libavcodec/codec_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2651,6 +2651,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,
Expand All @@ -2672,6 +2678,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
.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,
Expand Down
1 change: 0 additions & 1 deletion tools/missing_codec_desc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 892e2c2

Please sign in to comment.