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

eugeni subversion at mplayerhq.hu
Tue May 1 17:05:20 CEST 2007


Author: eugeni
Date: Tue May  1 17:05:20 2007
New Revision: 23189

Log:
Don't recalculate rotation radius. 


Modified:
   trunk/libass/ass_render.c

Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Tue May  1 17:05:20 2007
@@ -1963,8 +1963,8 @@ static int ass_render_event(ass_event_t*
 
 			if (info->bm == 0) {
 				// calculating shift vector
-				shift.x = int_to_d6(info->pos.x + device_x - center.x);
-				shift.y = - int_to_d6(info->pos.y + device_y - center.y);
+				shift.x = int_to_d6(info->hash_key.shift_x);
+				shift.y = int_to_d6(info->hash_key.shift_y);
 
 				transform_3d(shift, &info->glyph, &info->outline_glyph, info->frx, info->fry, info->frz);
 			}



More information about the MPlayer-cvslog mailing list