mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
ehh. mp_msgt->mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1584 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0338dc3f54
commit
3c6fb12ef1
@ -290,7 +290,7 @@ void exit_player(char* how){
|
||||
}
|
||||
#endif
|
||||
|
||||
if(how) mp_msgt(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,how);
|
||||
if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,how);
|
||||
mp_msg(MSGT_CPLAYER,MSGL_V,"max framesize was %d bytes\n",max_framesize);
|
||||
if(benchmark){
|
||||
double tot=video_time_usage+vout_time_usage+audio_time_usage;
|
||||
@ -337,7 +337,7 @@ void exit_sighandler(int x){
|
||||
// can't stop :(
|
||||
kill(getpid(),SIGKILL);
|
||||
}
|
||||
mp_msgt(MSGT_CPLAYER,MSGL_FATAL,MSGTR_IntBySignal,x,
|
||||
mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_IntBySignal,x,
|
||||
current_module?current_module:"unknown"
|
||||
);
|
||||
#ifdef HAVE_GUI
|
||||
@ -382,12 +382,12 @@ int conffile_fd;
|
||||
if (parse_config_file(conf, "/etc/mplayer.conf") < 0)
|
||||
exit(1);
|
||||
if ((conffile = get_path("")) == NULL) {
|
||||
mp_msgt(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoHomeDir);
|
||||
mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoHomeDir);
|
||||
} else {
|
||||
mkdir(conffile, 0777);
|
||||
free(conffile);
|
||||
if ((conffile = get_path("config")) == NULL) {
|
||||
mp_msgt(MSGT_CPLAYER,MSGL_ERR,MSGTR_GetpathProblem);
|
||||
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_GetpathProblem);
|
||||
} else {
|
||||
if ((conffile_fd = open(conffile, O_CREAT | O_EXCL | O_WRONLY, 0666)) != -1) {
|
||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_CreatingCfgFile, conffile);
|
||||
|
Loading…
Reference in New Issue
Block a user