Files
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
..
2012-10-24 21:56:34 +02:00
2011-04-20 04:22:52 +03:00
2012-07-28 23:36:08 +02:00
2012-10-24 21:56:34 +02:00
2012-10-24 21:56:35 +02:00
2012-12-03 21:08:52 +01:00
2012-12-03 21:08:52 +01:00
2012-08-01 17:07:35 +02:00