Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
892e2c2a
Commit
892e2c2a
authored
Apr 16, 2014
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: add codec descriptors for TTF and OTF.
parent
fa7bc7ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
codec_desc.c
libavcodec/codec_desc.c
+12
-0
missing_codec_desc
tools/missing_codec_desc
+0
-1
No files found.
libavcodec/codec_desc.c
View file @
892e2c2a
...
...
@@ -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
,
...
...
tools/missing_codec_desc
View file @
892e2c2a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment