mpv/sub
wm4 5a89150a46 player: remove OSD subtitle render path
This was used with --no-sub-ass (aka --no-ass). This option (which is
not yet removed) strips all styling from the subtitles, and renders them
as plaintext only. For some reason, it originally seemed convenient to
reuse all the OSD text rendering code (osd_libass.c). While this was
indeed simple, it had a bad influence on the rest of the code. For
example, it had to decide whether to go through the OSD code path, or
the proper subtitle renderer in sd_ass.c.

Kill the OSD subtitle renderer. Reimplement --no-sub-ass and also
"secondary" subtitles in sd_ass.c. fill_plaintext() contains some rather
minor code duplication with osd_libass.c for setting up a dummy
ASS_Event and escaping the stripped text. Since sd_ass.c already has to
handle "normal" text subtitles, and has code for stripping ASS tags,
this remains all relatively simple.

Remove all the unnecessary crap from the rest of the code.
2015-11-17 01:56:23 +01:00
..
ass_mp.c sub: remove use of semi-deprecated libass field 2015-10-28 23:49:13 +01:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c sub: remove an unneeded old hack for MicroDVD 2015-11-16 16:23:28 +01:00
dec_sub.h player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd.c player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
osd.h player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
osd_dummy.c
osd_font.otf
osd_libass.c player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
osd_state.h player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
sd.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
sd_ass.c player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
sd_lavc.c sd_lavc: take care of AVPicture deprecation 2015-10-23 20:14:08 +02:00
sd_lavc_conv.c Replace deprecated av_free_packet() calls 2015-10-28 23:48:56 +01:00
sd_lavf_srt.c
sd_microdvd.c Update license headers 2015-04-13 12:10:01 +02:00
sd_movtext.c
sd_srt.c Update license headers 2015-04-13 12:10:01 +02:00