[MPlayer-cvslog] CVS: main/libvo sub.c,1.76,1.77
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Sun Apr 10 00:25:35 CEST 2005
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv29822
Modified Files:
sub.c
Log Message:
reload font on each change of the display size
Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- sub.c 28 Oct 2004 01:15:52 -0000 1.76
+++ sub.c 9 Apr 2005 22:25:33 -0000 1.77
@@ -764,7 +764,10 @@
#ifdef HAVE_FREETYPE
// here is the right place to get screen dimensions
- if (!vo_font || force_load_font) {
+ if (!vo_font
+ || force_load_font
+ || ((dxs != vo_image_width || dys != vo_image_height)
+ && (subtitle_autoscale == 2 || subtitle_autoscale == 3))) {
force_load_font = 0;
load_font_ft(dxs, dys);
}
More information about the MPlayer-cvslog
mailing list