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

eugeni subversion at mplayerhq.hu
Fri Mar 2 18:54:48 CET 2007


Author: eugeni
Date: Fri Mar  2 18:54:47 2007
New Revision: 22414

Modified:
   trunk/libass/ass_render.c

Log:
Bugfix: transform origin to screen coordinates.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Fri Mar  2 18:54:47 2007
@@ -1898,8 +1898,8 @@ static int ass_render_event(ass_event_t*
 		FT_Vector center;
 		
 		if (render_context.have_origin) {
-			center.x = render_context.org_x;
-			center.y = render_context.org_y;
+			center.x = x2scr(render_context.org_x);
+			center.y = x2scr(render_context.org_y);
 		} else {
 			int bx, by;
 			get_base_point(bbox, alignment, &bx, &by);



More information about the MPlayer-cvslog mailing list