mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
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).
This commit is contained in:
parent
ea03cc6712
commit
d17e0977ea
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user