Mercurial > mplayer.hg
diff libass/ass.h @ 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.h Mon Nov 05 21:41:39 2012 +0000 +++ b/libass/ass.h Tue Nov 06 05:41:14 2012 +0000 @@ -23,7 +23,7 @@ #include <stdarg.h> #include "ass_types.h" -#define LIBASS_VERSION 0x01000000 +#define LIBASS_VERSION 0x01010000 /* * A linked list of images produced by an ass renderer. @@ -214,6 +214,14 @@ void ass_set_line_spacing(ASS_Renderer *priv, double line_spacing); /** + * \brief Set vertical line position. + * \param priv renderer handle + * \param line_position vertical line position of subtitles in percent + * (0-100: 0 = on the bottom (default), 100 = on top) + */ +void ass_set_line_position(ASS_Renderer *priv, double line_position); + +/** * \brief Set font lookup defaults. * \param default_font path to default font to use. Must be supplied if * fontconfig is disabled or unavailable.