diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-29 18:49:38 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-29 18:49:38 +0000 |
commit | c31274e8b43fcffc3cf43319aa17501b71729176 (patch) | |
tree | 4ed551fb1277c21f3355bfe950c6b8b78de012cf /cfg-mplayer.h | |
parent | f5b407c210c1aaf4682acc71e1e14574179764c3 (diff) | |
download | mpv-c31274e8b43fcffc3cf43319aa17501b71729176.tar.bz2 mpv-c31274e8b43fcffc3cf43319aa17501b71729176.tar.xz |
new -menu-chroot option that prevent OSD file selection menu to go to an unwanted location (yeah, chroot ;-))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23409 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index cb1621cb98..c51009050c 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -71,6 +71,7 @@ extern int WinID; #ifdef HAVE_MENU extern int menu_startup; extern int menu_keepdir; +extern char *menu_chroot; #ifdef USE_FRIBIDI extern char *menu_fribidi_charset; extern int menu_flip_hebrew; @@ -298,6 +299,7 @@ m_option_t mplayer_opts[]={ {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL}, {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, + {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL}, #ifdef USE_FRIBIDI {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |