From c3a7991dd5e1b7a1013afd4e2c154fc870553c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 6 Oct 2003 19:19:04 +0000 Subject: New API function for setting encoding of OSD texts. CVS patchset: 5458 CVS date: 2003/10/06 19:19:04 --- include/xine.h.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xine.h.in b/include/xine.h.in index 36a3d2108..792ef3c0f 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.95 2003/10/06 12:44:56 mroi Exp $ + * $Id: xine.h.in,v 1.96 2003/10/06 19:19:04 valtri Exp $ * * public xine-lib (libxine) interface and documentation * @@ -1671,6 +1671,12 @@ void xine_osd_get_text_size (xine_osd_t *self, const char *text, as 'fontname' here */ void xine_osd_set_font (xine_osd_t *self, const char *fontname, int size); +/* + * specifying encoding of texts + * "" ... means current locale encoding (default) + * NULL ... means latin1 + */ +void xine_osd_set_encoding(xine_osd_t *self, const char *encoding); /* set position were overlay will be blended */ void xine_osd_set_position (xine_osd_t *self, int x, int y); void xine_osd_show (xine_osd_t *self, int64_t vpts); -- cgit v1.2.3