[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.66,1.67
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Apr 10 20:36:03 CEST 2005
On Sun, Apr 10, 2005 at 03:12:58PM +0200, Jindrich Makovicka CVS wrote:
> Log Message:
> revert the previous commit, gl needs to reload the font immediately
I don't think so. You only have to move the vo_osd_changed part, too (I
actually wonder why it is called when there is no freetype support).
After all, if you take it seriously a different font (size) is a changed
OSD, too...
Though I have to admit this is an untested theory so far *g*
> Index: vo_gl.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
> retrieving revision 1.66
> retrieving revision 1.67
> diff -u -r1.66 -r1.67
> --- vo_gl.c 9 Apr 2005 22:45:47 -0000 1.66
> +++ vo_gl.c 10 Apr 2005 13:12:55 -0000 1.67
> @@ -93,6 +93,10 @@
> glLoadIdentity();
>
> if (!scaled_osd) {
> +#ifdef HAVE_FREETYPE
> + // adjust font size to display size
> + force_load_font = 1;
> +#endif
> vo_osd_changed(OSDTYPE_OSD);
> }
> }
Greetings,
Reimar Döffinger
More information about the MPlayer-cvslog
mailing list