[MPlayer-cvslog] r27438 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Fri Aug 8 00:20:52 CEST 2008


Author: eugeni
Date: Fri Aug  8 00:20:52 2008
New Revision: 27438

Log:
Calculate subtitle origin in floating point.


Modified:
   trunk/libass/ass_render.c

Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Fri Aug  8 00:20:52 2008
@@ -150,7 +150,7 @@ typedef struct render_context_s {
 		EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects
 		} evt_type;
 	double pos_x, pos_y; // position
-	int org_x, org_y; // origin
+	double org_x, org_y; // origin
 	char have_origin; // origin is explicitly defined; if 0, get_base_point() is used
 	double scale_x, scale_y;
 	double hspacing; // distance between letters, in pixels



More information about the MPlayer-cvslog mailing list