mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc: add codec descriptors for TTF and OTF.
This commit is contained in:
parent
fa7bc7ed8b
commit
892e2c2ad8
@ -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,
|
||||
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user