diff options
author | wm4 <wm4@nowhere> | 2012-08-04 11:39:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-04 19:59:56 +0200 |
commit | 70c455a59610242fc982e257c375f43c880ff0f7 (patch) | |
tree | 6dfbfbde1a17cec876bc9aa598137389bb1d4794 /cfg-mplayer.h | |
parent | 6031b8e22ce34754218ddcd98d4758ab46d647b8 (diff) | |
download | mpv-70c455a59610242fc982e257c375f43c880ff0f7.tar.bz2 mpv-70c455a59610242fc982e257c375f43c880ff0f7.tar.xz |
m_options: get rid of CONF_NOSAVE
This was already treated like CONF_GLOBAL.
Profiles can actually be file-local, as long as the profile sets file
local options only. Allow them to do so.
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index bdb46af1e0..78d615e911 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -665,8 +665,8 @@ const m_option_t mplayer_opts[]={ OPT_INTRANGE("x", screen_size_x, 0, 0, 4096), OPT_INTRANGE("y", screen_size_y, 0, 0, 4096), // set screen dimensions (when not detectable or virtual!=visible) - OPT_INTRANGE("screenw", vo_screenwidth, CONF_NOSAVE, 0, 4096), - OPT_INTRANGE("screenh", vo_screenheight, CONF_NOSAVE, 0, 4096), + OPT_INTRANGE("screenw", vo_screenwidth, CONF_GLOBAL, 0, 4096), + OPT_INTRANGE("screenh", vo_screenheight, CONF_GLOBAL, 0, 4096), // Geometry string {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL}, OPT_MAKE_FLAGS("force-window-position", force_window_position, 0), @@ -679,7 +679,7 @@ const m_option_t mplayer_opts[]={ // video mode switching: (x11,xv,dga) OPT_MAKE_FLAGS("vm", vidmode, 0), // start in fullscreen mode: - OPT_MAKE_FLAGS("fs", fullscreen, CONF_NOSAVE), + OPT_MAKE_FLAGS("fs", fullscreen, CONF_GLOBAL), // set fullscreen switch method (workaround for buggy WMs) {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, // set bpp (x11+vm, dga, fbdev, vesa, svga?) |