summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-01 15:05:20 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-01 15:05:20 +0000
commit95e71b09e5f581f3ff93b8d1649d6503061a366b (patch)
tree725cd666971949dc11081581f9c199d703c5980e /libass/ass_render.c
parent7c7e7f13f7c85740354337919fa8384b416dee0d (diff)
downloadlibass-95e71b09e5f581f3ff93b8d1649d6503061a366b.tar.bz2
libass-95e71b09e5f581f3ff93b8d1649d6503061a366b.tar.xz
Don't recalculate rotation radius.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23189 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 63acb5b..ed64242 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -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);
}