mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
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
This commit is contained in:
parent
a9abd00be4
commit
8d8646d573
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user