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
e9adeeec
Commit
e9adeeec
authored
Oct 14, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: Fix loglevel for -debug
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8937afd3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
cmdutils.c
cmdutils.c
+6
-0
cmdutils.h
cmdutils.h
+2
-0
cmdutils_common_opts.h
cmdutils_common_opts.h
+1
-0
No files found.
cmdutils.c
View file @
e9adeeec
...
...
@@ -423,6 +423,12 @@ int opt_loglevel(const char *opt, const char *arg)
return
0
;
}
int
opt_codec_debug
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log_set_level
(
AV_LOG_DEBUG
);
return
opt_default
(
opt
,
arg
);
}
int
opt_timelimit
(
const
char
*
opt
,
const
char
*
arg
)
{
#if HAVE_SETRLIMIT
...
...
cmdutils.h
View file @
e9adeeec
...
...
@@ -76,6 +76,8 @@ int opt_default(const char *opt, const char *arg);
*/
int
opt_loglevel
(
const
char
*
opt
,
const
char
*
arg
);
int
opt_codec_debug
(
const
char
*
opt
,
const
char
*
arg
);
/**
* Limit the execution time.
*/
...
...
cmdutils_common_opts.h
View file @
e9adeeec
...
...
@@ -13,3 +13,4 @@
{
"sample_fmts"
,
OPT_EXIT
,
{.
func_arg
=
show_sample_fmts
},
"show available audio sample formats"
},
{
"loglevel"
,
HAS_ARG
,
{(
void
*
)
opt_loglevel
},
"set libav* logging level"
,
"loglevel"
},
{
"v"
,
HAS_ARG
,
{(
void
*
)
opt_loglevel
},
"set libav* logging level"
,
"loglevel"
},
{
"debug"
,
HAS_ARG
,
{(
void
*
)
opt_codec_debug
},
"set debug flags"
,
"flags"
},
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