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
a5ebd2d9
Commit
a5ebd2d9
authored
Apr 17, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: slightly better -filters output.
parent
e5644313
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
cmdutils.c
cmdutils.c
+7
-2
No files found.
cmdutils.c
View file @
a5ebd2d9
...
...
@@ -1453,7 +1453,11 @@ int show_filters(void *optctx, const char *opt, const char *arg)
int
i
,
j
;
const
AVFilterPad
*
pad
;
printf
(
"Filters:
\n
"
);
printf
(
"Filters:
\n
"
" A = Audio input/output
\n
"
" V = Video input/output
\n
"
" N = Dynamic number and/or type of input/output
\n
"
" | = Source or sink filter
\n
"
);
#if CONFIG_AVFILTER
while
((
filter
=
avfilter_next
(
filter
)))
{
descr_cur
=
descr
;
...
...
@@ -1469,7 +1473,8 @@ int show_filters(void *optctx, const char *opt, const char *arg)
*
(
descr_cur
++
)
=
get_media_type_char
(
pad
[
j
].
type
);
}
if
(
!
j
)
*
(
descr_cur
++
)
=
'|'
;
*
(
descr_cur
++
)
=
((
!
i
&&
(
filter
->
flags
&
AVFILTER_FLAG_DYNAMIC_INPUTS
))
||
(
i
&&
(
filter
->
flags
&
AVFILTER_FLAG_DYNAMIC_OUTPUTS
)))
?
'N'
:
'|'
;
}
*
descr_cur
=
0
;
printf
(
"%-16s %-10s %s
\n
"
,
filter
->
name
,
descr
,
filter
->
description
);
...
...
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