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

diego subversion at mplayerhq.hu
Sat Feb 21 18:35:48 CET 2009


Author: diego
Date: Sat Feb 21 18:35:48 2009
New Revision: 28691

Log:
Print the version string after the command line has been parsed.
This allows printing the CPU information when verbose mode is
triggered on the command line.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Feb 21 15:51:01 2009	(r28690)
+++ trunk/mplayer.c	Sat Feb 21 18:35:48 2009	(r28691)
@@ -2527,7 +2527,6 @@ int gui_no_filename=0;
   // Preparse the command line
   m_config_preparse_command_line(mconfig,argc,argv);
 
-  print_version("MPlayer");
 #if (defined(__MINGW32__) || defined(__CYGWIN__)) && defined(CONFIG_WIN32DLL)
   set_path_env();
 #endif
@@ -2574,6 +2573,8 @@ int gui_no_filename=0;
     }
     }
 	
+  print_version("MPlayer");
+
 #if (defined(__MINGW32__) || defined(__CYGWIN__)) && defined(CONFIG_GUI)
     void *runningmplayer = FindWindow("MPlayer GUI for Windows", "MPlayer for Windows");
     if(runningmplayer && filename && use_gui){



More information about the MPlayer-cvslog mailing list