summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-18 22:45:59 +0100
committerwm4 <wm4@nowhere>2020-03-18 22:45:59 +0100
commit0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72 (patch)
tree3085f56bafaaf9acc1dad20e8ea44d5e7071d475 /wscript_build.py
parentcb82cbbbae99d5b8beebae76320a9097a2bc34f7 (diff)
downloadmpv-0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72.tar.bz2
mpv-0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72.tar.xz
build: make libass non-optional
Using mpv without libass isn't really supported, since it's not only used to display ASS subtitles, but all text subtitles, and even OSD. At least 1 user complained that the player printed a warning if built without libass. Avoid trying to create the impression that using this software without libass is in any way supported or desirable, and make it fully mandatory. (As far as making dependencies optional goes, I'd rather make ffmpeg optional, which is an oversized and bloated library, rather than something tiny like libass.)
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/wscript_build.py b/wscript_build.py
index a74e6d0f62..0951d79b48 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -386,7 +386,7 @@ def build(ctx):
( "stream/stream_null.c" ),
## Subtitles
- ( "sub/ass_mp.c", "libass"),
+ ( "sub/ass_mp.c" ),
( "sub/dec_sub.c" ),
( "sub/draw_bmp.c" ),
( "sub/filter_regex.c", "posix" ),
@@ -394,9 +394,8 @@ def build(ctx):
( "sub/img_convert.c" ),
( "sub/lavc_conv.c" ),
( "sub/osd.c" ),
- ( "sub/osd_dummy.c", "dummy-osd" ),
- ( "sub/osd_libass.c", "libass-osd" ),
- ( "sub/sd_ass.c", "libass" ),
+ ( "sub/osd_libass.c" ),
+ ( "sub/sd_ass.c" ),
( "sub/sd_lavc.c" ),
## Tests