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
4abb3539
Commit
4abb3539
authored
Aug 25, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix one of the problems with -codecs, -encoders and -decoders.
parent
2a57c9ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cmdutils.c
cmdutils.c
+2
-1
No files found.
cmdutils.c
View file @
4abb3539
...
...
@@ -917,6 +917,7 @@ int show_codecs(const char *opt, const char *arg)
while
((
desc
=
avcodec_descriptor_next
(
desc
)))
{
const
AVCodec
*
codec
=
NULL
;
printf
(
" "
);
printf
(
avcodec_find_decoder
(
desc
->
id
)
?
"D"
:
"."
);
printf
(
avcodec_find_encoder
(
desc
->
id
)
?
"E"
:
"."
);
...
...
@@ -965,7 +966,7 @@ static void print_codecs(int encoder)
const
AVCodec
*
codec
=
NULL
;
while
((
codec
=
next_codec_for_id
(
desc
->
id
,
codec
,
encoder
)))
{
printf
(
"%c"
,
get_media_type_char
(
desc
->
type
));
printf
(
"
%c"
,
get_media_type_char
(
desc
->
type
));
printf
((
codec
->
capabilities
&
CODEC_CAP_FRAME_THREADS
)
?
"F"
:
"."
);
printf
((
codec
->
capabilities
&
CODEC_CAP_SLICE_THREADS
)
?
"S"
:
"."
);
printf
((
codec
->
capabilities
&
CODEC_CAP_EXPERIMENTAL
)
?
"X"
:
"."
);
...
...
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