summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-18 03:13:28 +0100
committerwm4 <wm4@nowhere>2013-03-18 03:13:28 +0100
commitd17e0977ea58d11a9afafc7d4590763abc1348a8 (patch)
tree49813b3daeb285321a174751bf92716f7bcc214c /core/cfg-mplayer.h
parentea03cc67122ad8b47e640c868d108d7531536a21 (diff)
downloadmpv-d17e0977ea58d11a9afafc7d4590763abc1348a8.tar.bz2
mpv-d17e0977ea58d11a9afafc7d4590763abc1348a8.tar.xz
options: fix --wid
A recent change accidentally set the flags options to -1 (probably confusing it with the defasult value?), which mistakenly set all flags and rejected all option values (except 0).
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 38dd28b432..3b164a7346 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -590,7 +590,7 @@ const m_option_t mplayer_opts[]={
OPT_CHOICE_OR_INT("cursor-autohide", vo.cursor_autohide_delay, 0,
0, 30000, ({"no", -1}, {"always", -2})),
- OPT_INT64("wid", vo.WinID, -1),
+ OPT_INT64("wid", vo.WinID, CONF_GLOBAL),
#ifdef CONFIG_X11
OPT_FLAG("stop-xscreensaver", vo.stop_screensaver, 0),
OPT_STRINGLIST("fstype", vo.fstype_list, 0),