aboutsummaryrefslogtreecommitdiffstats
path: root/avplay.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 /avplay.c
parent4ca59d19485afce923c6f1d8ccef980011b76f50 (diff)
downloadffmpeg-182cbe433aea20b0d9627d40de7c75713ec736db.tar.gz
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 'avplay.c')
-rw-r--r--avplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avplay.c b/avplay.c
index b95cba750f..2eea5d72fd 100644
--- a/avplay.c
+++ b/avplay.c
@@ -3050,6 +3050,7 @@ int main(int argc, char **argv)
int flags;
av_log_set_flags(AV_LOG_SKIP_REPEATED);
+ parse_loglevel(argc, argv, options);
/* register all codecs, demux and protocols */
avcodec_register_all();