cmdutils: Fix loglevel for -debug

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-14 02:13:46 +02:00
parent 8937afd39f
commit e9adeeec98
3 changed files with 9 additions and 0 deletions

View file

@ -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