mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 13:51:14 +00:00
player/main: do not print build time, if it is unknown
This commit is contained in:
parent
a39e75ad89
commit
14504e0559
@ -150,8 +150,9 @@ void mp_update_logging(struct MPContext *mpctx, bool preinit)
|
||||
void mp_print_version(struct mp_log *log, int always)
|
||||
{
|
||||
int v = always ? MSGL_INFO : MSGL_V;
|
||||
mp_msg(log, v, "%s %s\n built on %s\n",
|
||||
mpv_version, mpv_copyright, mpv_builddate);
|
||||
mp_msg(log, v, "%s %s\n", mpv_version, mpv_copyright);
|
||||
if (strcmp(mpv_builddate, "UNKNOWN"))
|
||||
mp_msg(log, v, " built on %s\n", mpv_builddate);
|
||||
#if HAVE_LIBPLACEBO
|
||||
mp_msg(log, v, "libplacebo version: %s\n", PL_VERSION);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user