1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

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
This commit is contained in:
michael 2007-01-17 00:27:41 +00:00
parent 8397554a2a
commit 25736732af

View File

@ -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();