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
f1808e30
Commit
f1808e30
authored
Feb 27, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libpostproc: add pp=help support to print the help text via av_log()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7b4e1466
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
postprocess.c
libpostproc/postprocess.c
+9
-0
No files found.
libpostproc/postprocess.c
View file @
f1808e30
...
@@ -723,6 +723,15 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
...
@@ -723,6 +723,15 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
struct
PPMode
*
ppMode
;
struct
PPMode
*
ppMode
;
char
*
filterToken
;
char
*
filterToken
;
if
(
!
strcmp
(
name
,
"help"
))
{
const
char
*
p
;
for
(
p
=
pp_help
;
strchr
(
p
,
'\n'
);
p
=
strchr
(
p
,
'\n'
)
+
1
)
{
av_strlcpy
(
temp
,
p
,
FFMIN
(
sizeof
(
temp
),
strchr
(
p
,
'\n'
)
-
p
+
2
));
av_log
(
NULL
,
AV_LOG_INFO
,
"%s"
,
temp
);
}
return
NULL
;
}
ppMode
=
av_malloc
(
sizeof
(
PPMode
));
ppMode
=
av_malloc
(
sizeof
(
PPMode
));
ppMode
->
lumMode
=
0
;
ppMode
->
lumMode
=
0
;
...
...
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