[Mplayer-cvslog] CVS: main/libvo sub.c,1.22,1.23
Adam Tla/lka
atlka at mplayer.dev.hu
Fri Aug 17 13:44:48 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv8661/libvo
Modified Files:
sub.c
Log Message:
minor changes according to subtitle positioning
Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- sub.c 17 Aug 2001 11:14:57 -0000 1.22
+++ sub.c 17 Aug 2001 11:44:46 -0000 1.23
@@ -193,10 +193,11 @@
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
}
}
More information about the MPlayer-cvslog
mailing list