mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
10l: x2scr used twice instead of y2scr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22415 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
83ef3fedab
commit
5c927f2367
@ -1899,7 +1899,7 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
|
|||||||
|
|
||||||
if (render_context.have_origin) {
|
if (render_context.have_origin) {
|
||||||
center.x = x2scr(render_context.org_x);
|
center.x = x2scr(render_context.org_x);
|
||||||
center.y = x2scr(render_context.org_y);
|
center.y = y2scr(render_context.org_y);
|
||||||
} else {
|
} else {
|
||||||
int bx, by;
|
int bx, by;
|
||||||
get_base_point(bbox, alignment, &bx, &by);
|
get_base_point(bbox, alignment, &bx, &by);
|
||||||
|
Loading…
Reference in New Issue
Block a user