[Mplayer-cvslog] CVS: main mplayer.c,1.98,1.99 cfg-mplayer.h,1.36,1.37
Gabor Lenart
lgb at users.sourceforge.net
Thu Apr 26 17:50:47 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv13662/main
Modified Files:
mplayer.c cfg-mplayer.h
Log Message:
The -osdlevel switch for setting default OSD level (useful in your .config for example if you don't like watching OSD timer by default)
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -r1.98 -r1.99
*** mplayer.c 2001/04/25 21:30:46 1.98
--- mplayer.c 2001/04/26 15:50:45 1.99
***************
*** 94,97 ****
--- 94,99 ----
void find_sub(subtitle* subtitles,int key);
+ int osd_level=2;
+
//**************************************************************************//
// Config file
***************
*** 1145,1149 ****
int grab_frames=0;
char osd_text_buffer[64];
- int osd_level=2;
int osd_visible=100;
int osd_function=OSD_PLAY;
--- 1147,1150 ----
Index: cfg-mplayer.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** cfg-mplayer.h 2001/04/25 20:44:30 1.36
--- cfg-mplayer.h 2001/04/26 15:50:45 1.37
***************
*** 21,24 ****
--- 21,25 ----
extern int vo_dbpp;
+ extern int osd_level;
struct config conf[]={
***************
*** 31,34 ****
--- 32,36 ----
{"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0},
{"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1},
+ {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 },
#ifdef HAVE_LIBCSS
{"dvd", &dvd_device, CONF_TYPE_STRING, 0, 0, 0},
_______________________________________________
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