mpv/input
wm4 4cae192377 options: remove M_OPT_FIXED
Options marked with this flag were changed to strictly read-only after
initialization (mpv_initialize() in the client API, after option parsing
and config file loading with the CLI player).

This used to be necessary, because there was a single option struct that
could be accessed by multiple threads. For example, --config-dir sets
MPOpts.force_configdir, which was read whenever anything accessed the
mpv config dir (which could be on different threads, e.g. font
initialization tries to lookup fonts.conf from an arbitrary thread).

This isn't needed anymore, because threads now access these in a thread
safe way. In the case of --config-dir, the path is actually just copied
on init.

This M_OPT_FIXED mechanism is thus not strictly needed anymore. It still
prevents writing to some options that cannot take effect at runtime, but
even that can be dropped. In general, all mpv options can be changed any
time at runtime, even if they never take effect, and there's no need to
make an exception for a very low number of options. So just get rid of
it.
2019-11-10 23:49:23 +01:00
..
cmd.c input: remove now unused "abort command" and cancel infrastructure 2018-05-24 19:56:35 +02:00
cmd.h cmd: do not use a random value for MP_CMD_OPT_ARG 2018-05-25 11:13:44 +02:00
event.c input: ignore empty lines on drag-drop mime data 2019-09-21 15:39:47 +02:00
event.h input/event.h: add include guard 2016-03-15 22:44:15 +01:00
input.c options: remove M_OPT_FIXED 2019-11-10 23:49:23 +01:00
input.h input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
ipc-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
ipc-unix.c Merge commit '559a400ac36e75a8d73ba263fd7fa6736df1c2da' into wm4-commits--merge-edition 2018-12-05 19:19:24 +01:00
ipc-win.c player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
ipc.c ipc: cosmetic: switch a negated if/else 2018-05-25 10:46:18 +02:00
keycodes.c input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
keycodes.h input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
pipe-win32.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
sdl_gamepad.c sdl: prevent concurrent use of SDL in different threads 2019-10-25 22:17:54 +02:00