summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-23 15:18:46 +0200
committerwm4 <wm4@nowhere>2017-06-23 16:54:09 +0200
commit1c4d97c67ae86ed6bf4cd04c905962b5d34abd81 (patch)
tree029785c283566138d625ccd76547abdade3f089d /player
parentd81576c9a6da02e3019fb55f7ec039eb673b62af (diff)
downloadmpv-1c4d97c67ae86ed6bf4cd04c905962b5d34abd81.tar.bz2
mpv-1c4d97c67ae86ed6bf4cd04c905962b5d34abd81.tar.xz
player: disable dumping configutation in LGPL mode
This was added in 0810e4275. The patch author did not reply (yet). Not sure if copyrightable, but I'm making the still existing C part GPL-only for now (in a previous commit).
Diffstat (limited to 'player')
-rw-r--r--player/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index fa00f0a463..cee9458470 100644
--- a/player/main.c
+++ b/player/main.c
@@ -147,7 +147,10 @@ void mp_print_version(struct mp_log *log, int always)
mp_msg(log, v, "\n");
// Only in verbose mode.
if (!always) {
+#if HAVE_GPL
+ // Possibly GPL due to 0810e42750fb2e2e0d602388cef1b8ea8015d935.
mp_msg(log, MSGL_V, "Configuration: " CONFIGURATION "\n");
+#endif
mp_msg(log, MSGL_V, "List of enabled features: %s\n", FULLCONFIG);
}
}