diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-01 15:05:20 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-01 15:05:20 +0000 |
commit | 005220995c3070ce2e9bdf99866666f2c74dd466 (patch) | |
tree | ddf4e373073d6c40da89d1fde8364359477bcb99 /libass | |
parent | 5221c54cb6531803d76bd623b827bcce26eff093 (diff) | |
download | mpv-005220995c3070ce2e9bdf99866666f2c74dd466.tar.bz2 mpv-005220995c3070ce2e9bdf99866666f2c74dd466.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')
-rw-r--r-- | libass/ass_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index 63acb5bafa..ed64242165 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); } |