Fix resetting border style with \rSTYLE
commit6d2b7f238ec20a88d7ced4a513c6262a0b39d9ff
authorwm4 <wm4@nowhere>
Sat, 29 Sep 2012 19:27:55 +0000 (29 21:27 +0200)
committerwm4 <wm4@nowhere>
Sat, 29 Sep 2012 19:27:55 +0000 (29 21:27 +0200)
tree5efbe56c80592516ba6df9bfd72fb677953dea47
parentde409235f4a32f6dfa6ab73eeb4bcd8d3b679387
Fix resetting border style with \rSTYLE

With \rSTYLE, it is possible to change the border style within the same
subtitle event. You can do this by setting a different BorderStyle value
in the newly requested style. VSFilter handles this as expected, while
libass uses a single border style for the whole subtitle event.

This fixes libass issue #56.
libass/ass_parse.c
libass/ass_render.c
libass/ass_render.h