summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-06-07 21:53:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-06-07 21:53:56 +0000
commit1ab1f099ebb03f55db1970a200497f3b28be17bf (patch)
tree8b879612cb82b8aabbb83af465332b5a81fea4a6 /ffmpeg.c
parentfc565b22fcb0896b814780856abd6bffe396cfa1 (diff)
set log level to AV_LOG_DEBUG if -debug ... is used
Originally committed as revision 4359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index bafae51255..4b78ff5802 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2291,6 +2291,7 @@ static void opt_error_concealment(const char *arg)
static void opt_debug(const char *arg)
{
debug = atoi(arg);
+ av_log_set_level(AV_LOG_DEBUG);
}
static void opt_vismv(const char *arg)