diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 15:47:44 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 15:52:32 +0300 |
commit | d3113662b040cab1ba8cb44dc90db206f5ec34ca (patch) | |
tree | 72b8fa3a7448e3c93ece75aeeece237925f5f15c /cfg-mplayer.h | |
parent | 06405a5ba56a0c38b76859a8e1e4665061028a79 (diff) | |
download | mpv-d3113662b040cab1ba8cb44dc90db206f5ec34ca.tar.bz2 mpv-d3113662b040cab1ba8cb44dc90db206f5ec34ca.tar.xz |
Mark option -key-fifo-size global
The fifo is only allocated once and not resized later. After the
previous commit trying to change it for later files would have no
effect. With older code it could cause memory corruption if you set
the option to a value larger than the already allocated size.
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 1e7907b623..7bf15cd145 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -337,7 +337,7 @@ const m_option_t mplayer_opts[]={ {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL}, {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL}, {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL}, - OPT_INTRANGE("key-fifo-size", key_fifo_size, 0, 2, 65000), + OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000), {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL}, {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, |