summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-17 00:27:41 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-17 00:27:41 +0000
commit25736732aff8a3165b210236bf587c839ea635b0 (patch)
treef8239b2d0e55c5101f39a051c224168f3330839b /mplayer.c
parent8397554a2afc552ccd4f65a600dc0c582d072e38 (diff)
downloadmpv-25736732aff8a3165b210236bf587c839ea635b0.tar.bz2
mpv-25736732aff8a3165b210236bf587c839ea635b0.tar.xz
print_version() and others get executed before the command line has been parsed so -really-quiet does not silence them even though it should according to the verbosity level set by it, this simple change/hack fixes it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21948 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 1a394061d9..915816d9f8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3595,6 +3595,10 @@ int gui_no_filename=0;
mp_msg_init();
+ for(i=1; i<argc; i++)
+ if(!strcmp(argv[i], "-really-quiet"))
+ verbose= -10;
+
print_version();
#if defined(WIN32) && defined(USE_WIN32DLL)
set_path_env();