mirror of
https://github.com/mpv-player/mpv
synced 2025-03-23 03:37:27 +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:
parent
ebce4808fc
commit
5db34ebd93
@ -4420,7 +4420,7 @@ if(stream_dump_type==5){
|
|||||||
mp_tmsg(MSGT_GLOBAL,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
|
mp_tmsg(MSGT_GLOBAL,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
|
||||||
exit_player(mpctx, EXIT_ERROR);
|
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);
|
exit_player_with_rc(mpctx, EXIT_EOF, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4615,7 +4615,7 @@ if((stream_dump_type)&&(stream_dump_type<4)){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(f);
|
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);
|
exit_player_with_rc(mpctx, EXIT_EOF, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user