[MPlayer-cvslog] r21948 - trunk/mplayer.c

michael subversion at mplayerhq.hu
Wed Jan 17 01:27:41 CET 2007


Author: michael
Date: Wed Jan 17 01:27:41 2007
New Revision: 21948

Modified:
   trunk/mplayer.c

Log:
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


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Wed Jan 17 01:27:41 2007
@@ -3595,6 +3595,10 @@
   
   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();



More information about the MPlayer-cvslog mailing list