summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 13:37:49 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 13:37:49 +0000
commit0e339fc397e7238ad8d31a8f2e8ae86f63c22959 (patch)
treea0b506916cb9d7f8d2f4b5859bcda8d17d47999b /cfg-mplayer.h
parent5e00ed042b6226f53710ecc40ff6fb113ea94b6e (diff)
downloadmpv-0e339fc397e7238ad8d31a8f2e8ae86f63c22959.tar.bz2
mpv-0e339fc397e7238ad8d31a8f2e8ae86f63c22959.tar.xz
option to display menu at startup, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13345 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index b0498a4552..a7d5e695e7 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -82,6 +82,10 @@ extern int vo_nomouse_input;
extern int WinID;
#endif
+#ifdef HAVE_MENU
+extern int menu_startup;
+#endif
+
#ifdef HAVE_AA
extern int vo_aa_parseoption(m_option_t* conf, char *opt, char * param);
extern void vo_aa_revertoption(m_option_t* opt,char* param);
@@ -331,6 +335,7 @@ m_option_t mplayer_opts[]={
{"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
{"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
{"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
+ {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
#else
{"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
#endif