changeset 28656:5a0e7cec3f9f

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.
author diego
date Sat, 21 Feb 2009 17:35:48 +0000
parents 9fcf23aaf13c
children 0c4d9e4848b7
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Feb 21 14:51:01 2009 +0000
+++ b/mplayer.c	Sat Feb 21 17:35:48 2009 +0000
@@ -2527,7 +2527,6 @@
   // 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 @@
     }
     }
 	
+  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){