summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-02 19:57:37 +0200
committerwm4 <wm4@nowhere>2013-06-03 22:40:07 +0200
commitd5520d20b26e7363882e9f1ebce7a5524a12321b (patch)
tree944cb65091de7552db2c1c28d66048dd1a216fb3 /sub
parent74e3ac8bf885dad5b6d33fc8d2c714dd91c18b47 (diff)
downloadmpv-d5520d20b26e7363882e9f1ebce7a5524a12321b.tar.bz2
mpv-d5520d20b26e7363882e9f1ebce7a5524a12321b.tar.xz
sub: use libass even if -no-ass is used
The -no-ass option used to disable all use of libass completely. This doesn't work this way anymore, and the text subtitle path has an inherent dependency on libass. Currently -no-ass does 3 things: 1. Strip tags and formatting on display, and use a separate renderer for the result. (Which might be the terminal, or libass via OSD code.) 2. Not loading attached fonts from Matroska files. 3. Use subreader.c instead of libass for reading .ass files. 1. and 2. are ok and what the user (probably wants), but 3. doesn't really make sense anymore. subreader.c reads .ass files just fine, but then does some strange things to them (something about coalescing and re-adding newlines?), leading to even more broken display with -no-ass. Instead of fighting with subreader.c, just use libass as loader.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions