Mercurial > mplayer.hg
diff libass/ass_render_api.c @ 35262:49fc594fda43
Updated libass to 0.10.1
This closes #2099
author | SubJunk |
---|---|
date | Tue, 06 Nov 2012 05:41:14 +0000 |
parents | 6e7f60f6f9d4 |
children | c3aaaf17c721 |
line wrap: on
line diff
--- a/libass/ass_render_api.c Mon Nov 05 21:41:39 2012 +0000 +++ b/libass/ass_render_api.c Tue Nov 06 05:41:14 2012 +0000 @@ -116,6 +116,14 @@ priv->settings.line_spacing = line_spacing; } +void ass_set_line_position(ASS_Renderer *priv, double line_position) +{ + if (priv->settings.line_position != line_position) { + priv->settings.line_position = line_position; + ass_reconfigure(priv); + } +} + void ass_set_fonts(ASS_Renderer *priv, const char *default_font, const char *default_family, int fc, const char *config, int update)