summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-21 17:35:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-21 17:35:48 +0000
commit8d8646d573a0d042fd27ba3899a02d5af648ebae (patch)
tree134d6ae11327e333a7ed3237f19aa82293dfca16 /mplayer.c
parenta9abd00be4bfb498e1ba4e0ebc02c828a1a3db07 (diff)
downloadmpv-8d8646d573a0d042fd27ba3899a02d5af648ebae.tar.bz2
mpv-8d8646d573a0d042fd27ba3899a02d5af648ebae.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28691 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 0c097db71b..1b6a35025b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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){