[Mplayer-cvslog] CVS: main cfg-mplayer.h,1.8,1.9 mplayer.c,1.27,1.28

GEREOFFY arpi_esp at users.sourceforge.net
Sun Mar 25 22:38:16 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv23244

Modified Files:
	cfg-mplayer.h mplayer.c 
Log Message:
font alpha resampling, see -ffactor

Index: cfg-mplayer.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** cfg-mplayer.h	2001/03/25 04:27:39	1.8
--- cfg-mplayer.h	2001/03/25 20:38:14	1.9
***************
*** 12,15 ****
--- 12,16 ----
  	{"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0},
  	{"font", &font_name, CONF_TYPE_STRING, 0, 0, 0},
+ 	{"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0},
  	{"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1},
  	{"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0},

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** mplayer.c	2001/03/25 04:27:39	1.27
--- mplayer.c	2001/03/25 20:38:14	1.28
***************
*** 415,418 ****
--- 415,419 ----
  int conffile_fd;
  char *font_name=NULL;
+ float font_factor=0.75;
  #include "cfg-mplayer.h"
  
***************
*** 462,466 ****
  // check font
    if(font_name){
!        vo_font=read_font_desc(font_name);
         if(!vo_font) printf("Can't load font: %s\n",font_name);
    }
--- 463,467 ----
  // check font
    if(font_name){
!        vo_font=read_font_desc(font_name,font_factor);
         if(!vo_font) printf("Can't load font: %s\n",font_name);
    }


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list