mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 20:21:49 +00:00
Don't recalculate rotation radius.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23189 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5221c54cb6
commit
005220995c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user