summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-26 08:15:37 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-26 20:33:50 +0200
commit182cbe433aea20b0d9627d40de7c75713ec736db (patch)
tree86c5c5d6b80fc435a51beefde15ff8f41d5c6659 /avconv.c
parent4ca59d19485afce923c6f1d8ccef980011b76f50 (diff)
avtools: parse loglevel before all the other options.
This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avconv.c b/avconv.c
index 9e2fac7f3b..9d3eb7c07b 100644
--- a/avconv.c
+++ b/avconv.c
@@ -4019,6 +4019,7 @@ int main(int argc, char **argv)
reset_options(&o);
av_log_set_flags(AV_LOG_SKIP_REPEATED);
+ parse_loglevel(argc, argv, options);
avcodec_register_all();
#if CONFIG_AVDEVICE