Don't recalculate rotation radius.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 1 May 2007 15:05:20 +0000 (15:05 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 1 May 2007 15:05:20 +0000 (15:05 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@23189 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_render.c

index 63acb5b..ed64242 100644 (file)
@@ -1963,8 +1963,8 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
 
                        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);
                        }