diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-17 00:27:41 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-17 00:27:41 +0000 |
commit | 25736732aff8a3165b210236bf587c839ea635b0 (patch) | |
tree | f8239b2d0e55c5101f39a051c224168f3330839b /mplayer.c | |
parent | 8397554a2afc552ccd4f65a600dc0c582d072e38 (diff) | |
download | mpv-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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(); |