1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 02:41:13 +00:00
mpv/DOCS/man
Avi Halachmi (:avih) 71ddb22b39 js: read_options: support on_update (match 478a321d)
This is a bit different than the lua code: on script-opts change it
simply re-applies the conf-file and script-opts to the options object,
and if this results in any changed value at options then on_update is
called with the changelist as argument.

This allows a value to revert back to the conf-file value if the
matching script-opts key had a different value and then got deleted.
It also guarantees to call back whenever the options object is
modified, which the lua code doesn't do (e.g. if the caller changed
a value and the observer changed it back - it won't detect a change).
2019-12-21 14:57:10 +02:00
..
af.rst audio: remove unreferenced af_lavrresample 2019-09-19 20:37:05 +02:00
ao.rst ao_pulse: add --pulse-allow-suspended 2019-09-21 12:54:36 +02:00
changes.rst manpage: mention the client API/interface change logs 2016-09-02 09:48:35 +02:00
console.rst console: use hidpi scale reporting 2019-12-20 13:00:39 +01:00
encode.rst options: increase consistency between list options and document them 2019-12-18 05:32:02 +01:00
input.rst command: add property returning hidpi scale 2019-12-20 13:00:39 +01:00
ipc.rst ipc: alias set_property_string to set_property 2018-05-25 10:45:59 +02:00
javascript.rst js: read_options: support on_update (match 478a321d) 2019-12-21 14:57:10 +02:00
libmpv.rst manpage: define stricter rules for C plugin return values 2017-01-14 17:41:04 +01:00
lua.rst lua: add a helper for runtime script option changes 2019-12-20 14:21:16 +01:00
mpv.rst manpage: add osc and console default keys to keyboard control section 2019-12-20 13:00:39 +01:00
options.rst demux: add an option to control tag charset 2019-12-20 13:00:39 +01:00
osc.rst osc: rework window control configuration to add auto mode 2019-12-04 09:32:25 +08:00
stats.rst manpage: document stats page 3 2019-10-31 11:06:22 +01:00
vf.rst options: deprecate -del for list options 2019-12-18 06:57:24 +01:00
vo.rst sws_utils, zimg: destroy vo_x11 and vo_drm performance 2019-10-31 16:51:12 +01:00