summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-14 02:13:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-14 02:18:55 +0200
commite9adeeec98df59cf0163c506e8b0f734cfd54c7b (patch)
tree1aaaab044cc88feb91535a6043385b373675e182 /cmdutils.c
parent8937afd39f378ad3ae5bc2e54da6655680775e77 (diff)
cmdutils: Fix loglevel for -debug
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index d27759ea93..00c5d71144 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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