mpv-x: fix build failure
This commit is contained in:
parent
cc5b5caa78
commit
87f5e7c594
|
@ -24,7 +24,6 @@ termux_step_make_install() {
|
||||||
--enable-jpeg \
|
--enable-jpeg \
|
||||||
--enable-lcms2 \
|
--enable-lcms2 \
|
||||||
--enable-libarchive \
|
--enable-libarchive \
|
||||||
--enable-libass \
|
|
||||||
--enable-lua \
|
--enable-lua \
|
||||||
--enable-pulse \
|
--enable-pulse \
|
||||||
--enable-openal \
|
--enable-openal \
|
||||||
|
|
|
@ -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);
|
|
||||||
|
|
Loading…
Reference in New Issue