summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-01 12:16:42 +0100
committerRicardo Constantino <wiiaboo@gmail.com>2018-01-01 21:05:09 +0000
commit49e704cb19dfe72b293fd286395e37ed1d3c3d99 (patch)
treed0e1ffeca2f87986d1378f4a31cca39f844f6a22 /player
parenta90abe05462a689e55280bc78af2999aa1f3823e (diff)
downloadmpv-49e704cb19dfe72b293fd286395e37ed1d3c3d99.tar.bz2
mpv-49e704cb19dfe72b293fd286395e37ed1d3c3d99.tar.xz
build: move copyright statement to a shared location
Now macosx_menubar.m and mpv.rc (win32) use the same copyright string. (This is a bit roundabout, because mpv.rc can't use C constants. Also the C code wants to avoid rebuilding real source files if only version.h changed, so only version.c includes version.h.)
Diffstat (limited to 'player')
-rw-r--r--player/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/player/main.c b/player/main.c
index 1a0de32686..5f79e784ed 100644
--- a/player/main.c
+++ b/player/main.c
@@ -140,9 +140,8 @@ 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 (C) 2000-2018 mpv/MPlayer/mplayer2 projects\n built on %s\n",
- mpv_version, mpv_builddate);
+ mp_msg(log, v, "%s %s\n built on %s\n",
+ mpv_version, mpv_copyright, mpv_builddate);
print_libav_versions(log, v);
mp_msg(log, v, "\n");
// Only in verbose mode.