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
e2785fa7
Commit
e2785fa7
authored
Aug 29, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: make -codecs print lossy/lossless flags.
parent
a2318326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
cmdutils.c
cmdutils.c
+11
-7
No files found.
cmdutils.c
View file @
e2785fa7
...
...
@@ -741,13 +741,15 @@ int show_codecs(const char *opt, const char *arg)
const
AVCodecDescriptor
*
desc
=
NULL
;
printf
(
"Codecs:
\n
"
" D... = Decoding supported
\n
"
" .E.. = Encoding supported
\n
"
" ..V. = Video codec
\n
"
" ..A. = Audio codec
\n
"
" ..S. = Subtitle codec
\n
"
" ...I = Intra frame-only codec
\n
"
" -----
\n
"
);
" D..... = Decoding supported
\n
"
" .E.... = Encoding supported
\n
"
" ..V... = Video codec
\n
"
" ..A... = Audio codec
\n
"
" ..S... = Subtitle codec
\n
"
" ...I.. = Intra frame-only codec
\n
"
" ....L. = Lossy compression
\n
"
" .....S = Lossless compression
\n
"
" -------
\n
"
);
while
((
desc
=
avcodec_descriptor_next
(
desc
)))
{
const
AVCodec
*
codec
=
NULL
;
...
...
@@ -756,6 +758,8 @@ int show_codecs(const char *opt, const char *arg)
printf
(
"%c"
,
get_media_type_char
(
desc
->
type
));
printf
((
desc
->
props
&
AV_CODEC_PROP_INTRA_ONLY
)
?
"I"
:
"."
);
printf
((
desc
->
props
&
AV_CODEC_PROP_LOSSY
)
?
"L"
:
"."
);
printf
((
desc
->
props
&
AV_CODEC_PROP_LOSSLESS
)
?
"S"
:
"."
);
printf
(
" %-20s %s"
,
desc
->
name
,
desc
->
long_name
?
desc
->
long_name
:
""
);
...
...
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