summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index 7f578a2c4b..acff77f94d 100644
--- a/player/main.c
+++ b/player/main.c
@@ -338,6 +338,7 @@ static int mpv_main(int argc, char *argv[])
// Preparse the command line
m_config_preparse_command_line(mpctx->mconfig, argc, argv);
+ mp_msg_update_msglevels(mpctx->global);
mp_print_version(false);
@@ -354,6 +355,8 @@ static int mpv_main(int argc, char *argv[])
}
}
+ mp_msg_update_msglevels(mpctx->global);
+
if (handle_help_options(mpctx))
exit_player(mpctx, EXIT_NONE);