mpv/sub
Uoti Urpala a75e65db5d subreader: fix some of ASS parser issues
The subreader.c ASS parser (used when playing an external ASS subtitle
file with --no-ass for "plaintext" display) hardcodes dialogue line
syntax instead of correctly reading it from the "Format: " line in the
file, but tried to support a varying amount of fields by guessing
where the text field (which should be last) begins. This guessing code
was buggy in many ways. Remove it and hardcode skipping 9 commas
before the text field, which should work for most files. I don't
consider the --no-ass case important enough to implement correct
parsing now. Also fix the code removing formatting tags, which failed
to remove the second in a pair of two consecutive tags.

Conflicts:
	sub/subreader.c

Merged from mplayer2 commit 91f516. Essentially reverts d5b964.
2012-12-03 21:08:52 +01:00
..
ass_mp.c
ass_mp.h
dec_sub.c
dec_sub.h
draw_bmp.c
draw_bmp.h
find_sub.c
find_subfiles.c
find_subfiles.h
img_convert.c
img_convert.h
osd_dummy.c
osd_font.pfb
osd_libass.c
sd.h
sd_ass.c
sd_lavc.c
spudec.c
spudec.h
sub.c subs: remove --utf8, simplify code 2012-12-03 21:08:52 +01:00
sub.h subs: remove --utf8, simplify code 2012-12-03 21:08:52 +01:00
subassconvert.c
subassconvert.h
subreader.c subreader: fix some of ASS parser issues 2012-12-03 21:08:52 +01:00
subreader.h
vobsub.c
vobsub.h