summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-09-20 02:50:26 +0530
committerNiklas Haas <github-daiK1o@haasn.dev>2023-10-23 13:03:29 +0200
commitf5ca11e12bc55d14bd6895b619c4abfd470c6452 (patch)
tree6ac7c720f50e54ba5940282cee4b793a3dee0f22 /player/main.c
parent59a3c453f97c558b80ba4a39a8e5b476a66c5951 (diff)
downloadmpv-f5ca11e12bc55d14bd6895b619c4abfd470c6452.tar.bz2
mpv-f5ca11e12bc55d14bd6895b619c4abfd470c6452.tar.xz
meson: make libplacebo a required dependency
Make it not possible to build mpv without the latest libplacebo anymore. This will allow for less code duplication between mpv and libplacebo, and in the future also let us delete legacy ifdefs and track libplacebo better.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/main.c b/player/main.c
index 8f0e63b418..cd84026730 100644
--- a/player/main.c
+++ b/player/main.c
@@ -26,9 +26,7 @@
#include "config.h"
-#if HAVE_LIBPLACEBO
#include <libplacebo/config.h>
-#endif
#include "mpv_talloc.h"
@@ -149,9 +147,7 @@ void mp_print_version(struct mp_log *log, int always)
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
check_library_versions(log, v);
mp_msg(log, v, "\n");
// Only in verbose mode.