diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-31 21:15:59 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-31 21:15:59 +0200 |
commit | 4ea60a3d0ec4f01f3c319d6f155653f4f890632f (patch) | |
tree | 259f4c62d5ba7c0f9e739954b35b2c6b3f4b7125 /cfg-mplayer.h | |
parent | f923fd720cd978bb123a743ac2d38096b1e45726 (diff) | |
download | mpv-4ea60a3d0ec4f01f3c319d6f155653f4f890632f.tar.bz2 mpv-4ea60a3d0ec4f01f3c319d6f155653f4f890632f.tar.xz |
options: mark -fs with CONF_NOSAVE to keep state between files
Most of the time users want to keep current fullscreen state when
switching to another file, rather than always resetting to the global
default that was determined when the command line was parsed. Add the
CONF_NOSAVE flag to the -fs option to achieve this. The change means
that the fullscreen state from the previous file is kept unless there
is an explicit file-specific -fs or -nofs setting for the new file
(or in case file groups are used, moving to the new file enters a
group with explicitly specified state).
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 10d19c21eb..391f833e05 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -150,7 +150,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, 0), + OPT_MAKE_FLAGS("fs", fullscreen, CONF_NOSAVE), // set fullscreen switch method (workaround for buggy WMs) {"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL}, {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, |