mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 18:14:33 +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;
|
l=0;
|
||||||
break;
|
break;
|
||||||
} else if(l || j<len){ // not last line or there is no eol
|
} else if(l || j<len){ // not last line or there is no eol
|
||||||
y=vo_font->height;
|
y=0;
|
||||||
xsize=lastxsize=-vo_font->charspace;
|
xsize=lastxsize=-vo_font->charspace;
|
||||||
}
|
memy -=vo_font->height;
|
||||||
memy-=y; // according to max of vo_font->pic_a[font]->h
|
} else
|
||||||
|
memy-=y; // according to max of vo_font->pic_a[font]->h
|
||||||
} // in last line
|
} // in last line
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user