From d17e0977ea58d11a9afafc7d4590763abc1348a8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 18 Mar 2013 03:13:28 +0100 Subject: 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). --- core/cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/cfg-mplayer.h') 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), -- cgit v1.2.3