mpv-x: fix build failure

This commit is contained in:
Leonid Pliushch 2020-11-23 14:04:22 +00:00 committed by Yaksh Bariya
parent cc5b5caa78
commit 87f5e7c594
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 0 additions and 19 deletions

View File

@ -24,7 +24,6 @@ termux_step_make_install() {
--enable-jpeg \
--enable-lcms2 \
--enable-libarchive \
--enable-libass \
--enable-lua \
--enable-pulse \
--enable-openal \

View File

@ -1,18 +0,0 @@
We don't need a warning every time.
diff -u -r ../mpv-0.19.0/player/main.c ./player/main.c
--- ../mpv-0.19.0/player/main.c 2016-08-15 10:10:59.000000000 -0400
+++ ./player/main.c 2016-08-26 18:40:46.624646426 -0400
@@ -455,10 +455,12 @@
}
#endif
+#ifndef __ANDROID__
#if !HAVE_LIBASS
MP_WARN(mpctx, "Compiled without libass.\n");
MP_WARN(mpctx, "There will be no OSD and no text subtitles.\n");
#endif
+#endif
mpctx->osd = osd_create(mpctx->global);