[Mplayer-cvslog] CVS: main/libmenu vf_menu.c,1.9,1.10
Sascha Sommer CVS
syncmail at mplayerhq.hu
Wed Sep 15 15:37:52 CEST 2004
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var2/tmp/cvs-serv27086/libmenu
Modified Files:
vf_menu.c
Log Message:
option to display menu at startup, patch by Aurelien Jacobs <aurel at gnuage.org>
Index: vf_menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/vf_menu.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vf_menu.c 9 Jul 2003 01:30:23 -0000 1.9
+++ vf_menu.c 15 Sep 2004 13:37:49 -0000 1.10
@@ -29,6 +29,8 @@
static mp_image_t* pause_mpi = NULL;
static int go2pause = 0;
+/// if nonzero display menu at startup
+int menu_startup = 0;
struct vf_priv_s {
menu_t* root;
@@ -260,6 +262,7 @@
st_priv = NULL;
return 0;
}
+ st_priv->root->show = menu_startup;
mp_input_add_cmd_filter((mp_input_cmd_filter)cmd_filter,st_priv);
}
More information about the MPlayer-cvslog
mailing list