From 70c455a59610242fc982e257c375f43c880ff0f7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Aug 2012 11:39:23 +0200 Subject: 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. --- cfg-mplayer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cfg-mplayer.h') 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?) -- cgit v1.2.3