From 0f1764195a8b818ecafed37841e4c48d9f4718da Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 14 Oct 2013 19:48:58 +0200 Subject: mplayer: print ffmpeg library versions along with mpv version info Also change what the FFmpeg version info looks like, and additionally dump lavfi/lavr/lswr versions. (Don't bother with libavdevice and libpostproc, they're not important enough.) Unfortunately, there's no "single" FFmpeg/Libav version due to fatal braindeath on the FFmpeg/Libav side. We can't map the versions to releases either (it simply isn't accessible anywhere). --- mpvcore/mplayer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mpvcore/mplayer.c') diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c index 1d4be97605..6800f84a7f 100644 --- a/mpvcore/mplayer.c +++ b/mpvcore/mplayer.c @@ -4822,8 +4822,11 @@ void mp_set_playlist_entry(struct MPContext *mpctx, struct playlist_entry *e) void mp_print_version(int always) { - mp_msg(MSGT_CPLAYER, always ? MSGL_INFO : MSGL_V, + int v = always ? MSGL_INFO : MSGL_V; + mp_msg(MSGT_CPLAYER, v, "%s (C) 2000-2013 mpv/MPlayer/mplayer2 projects\n built on %s\n", mplayer_version, mplayer_builddate); + print_libav_versions(v); + mp_msg(MSGT_CPLAYER, v, "\n"); } static bool handle_help_options(struct MPContext *mpctx) @@ -4950,7 +4953,6 @@ static int mpv_main(int argc, char *argv[]) m_config_preparse_command_line(mpctx->mconfig, argc, argv); mp_print_version(false); - print_libav_versions(); if (!parse_cfgfiles(mpctx, mpctx->mconfig)) exit_player(mpctx, EXIT_ERROR); -- cgit v1.2.3