mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
minor changes according to subtitle positioning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1575 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
18133a83bb
commit
c82d672838
@ -193,10 +193,11 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in
|
||||
l=0;
|
||||
break;
|
||||
} else if(l || j<len){ // not last line or there is no eol
|
||||
y=vo_font->height;
|
||||
y=0;
|
||||
xsize=lastxsize=-vo_font->charspace;
|
||||
}
|
||||
memy-=y; // according to max of vo_font->pic_a[font]->h
|
||||
memy -=vo_font->height;
|
||||
} else
|
||||
memy-=y; // according to max of vo_font->pic_a[font]->h
|
||||
} // in last line
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user