Mercurial > mplayer.hg
comparison libvo/sub.c @ 1574:4190a9e73e35
minor changes according to subtitle positioning
author | atlka |
---|---|
date | Fri, 17 Aug 2001 11:44:46 +0000 |
parents | c394d04d6b30 |
children | 86a192179276 |
comparison
equal
deleted
inserted
replaced
1573:c394d04d6b30 | 1574:4190a9e73e35 |
---|---|
191 xtbl[lines++]=(dxs-lastxsize)/2; | 191 xtbl[lines++]=(dxs-lastxsize)/2; |
192 if (lines==MAX_UCSLINES||k>MAX_UCS){ | 192 if (lines==MAX_UCSLINES||k>MAX_UCS){ |
193 l=0; | 193 l=0; |
194 break; | 194 break; |
195 } else if(l || j<len){ // not last line or there is no eol | 195 } else if(l || j<len){ // not last line or there is no eol |
196 y=vo_font->height; | 196 y=0; |
197 xsize=lastxsize=-vo_font->charspace; | 197 xsize=lastxsize=-vo_font->charspace; |
198 } | 198 memy -=vo_font->height; |
199 memy-=y; // according to max of vo_font->pic_a[font]->h | 199 } else |
200 memy-=y; // according to max of vo_font->pic_a[font]->h | |
200 } // in last line | 201 } // in last line |
201 } | 202 } |
202 } | 203 } |
203 | 204 |
204 y = memy; | 205 y = memy; |