1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-20 02:09:52 +00:00

terminal output: change infamous "Core dumped" message

The "Core dumped ;)" message printed after finishing a stream dump is
known to confuse users but was kept as "humor". Change it to say
"Stream dump complete." instead.
This commit is contained in:
Uoti Urpala 2011-02-01 04:30:02 +02:00
parent ebce4808fc
commit 5db34ebd93

View File

@ -4420,7 +4420,7 @@ if(stream_dump_type==5){
mp_tmsg(MSGT_GLOBAL,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
exit_player(mpctx, EXIT_ERROR);
}
mp_tmsg(MSGT_CPLAYER,MSGL_INFO,"Core dumped ;)\n");
mp_tmsg(MSGT_CPLAYER, MSGL_INFO, "Stream dump complete.\n");
exit_player_with_rc(mpctx, EXIT_EOF, 0);
}
@ -4615,7 +4615,7 @@ if((stream_dump_type)&&(stream_dump_type<4)){
}
}
fclose(f);
mp_tmsg(MSGT_CPLAYER,MSGL_INFO,"Core dumped ;)\n");
mp_tmsg(MSGT_CPLAYER ,MSGL_INFO, "Stream dump complete.\n");
exit_player_with_rc(mpctx, EXIT_EOF, 0);
}