summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.h
Commit message (Collapse)AuthorAgeFilesLines
* Terminate drawings immediately on a \p0 tagwm42012-09-291-0/+1
| | | | | | | | | | | | | | | | The parsing code allowed override tags after \p0 to affect the drawing. This is incorrect. Finish the drawing object as soon as \p0 is encountered instead. This requires moving the code executing the style overrides from get_next_char() in ass_parse.c to the main render loop in ass_renderer.c, because we have to re-enter the rendering loop inside of a tag. The old code was simply executing all tags until a new character could be returned to the renderer loop, mutating up the state (RenderContext fields) for the drawing after the drawing was closed, but before it was rendered. This fixes libass issue #47.
* Refactor and fix border generationGrigori Goronzy2012-04-211-0/+1
| | | | | Make sure to update the border appropriately in the second pass, after parsing.
* Separate event parsing and layoutGrigori Goronzy2011-07-041-0/+1
| | | | | | Split up the combined event parsing and layout loop into two passes. State information needed for layout are duplicated in GlyphInfo structures.
* refactor: move karaoke effect parsing into event parserGrigori Goronzy2011-06-061-0/+1
|
* Refactor: effect parsing should be in ass_parse.cGrigori Goronzy2009-09-161-0/+1
| | | | | Move the function apply_transition_effects, which parses event-global effects and adjusts a few state variables, into ass_parse.c.
* Fix inline function prototypesGrigori Goronzy2009-09-021-2/+2
|
* Refactor: move event parsing code into separate fileGrigori Goronzy2009-09-011-0/+37
Move all code related to parsing event lines and processing override tags into a separate file (ass_parse.c).