mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
reverse incorrect sub alignment change, ok'd by diego
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16839 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
37584f552e
commit
8aee54d8a8
@ -627,7 +627,7 @@ inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){
|
||||
}
|
||||
/// vertical alignment
|
||||
h = dys - obj->y;
|
||||
if (sub_alignment == 0)
|
||||
if (sub_alignment == 2)
|
||||
obj->y = dys * sub_pos / 100 - h;
|
||||
else if (sub_alignment == 1)
|
||||
obj->y = dys * sub_pos / 100 - h / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user