1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/player
Avi Halachmi (:avih) b670838b3d js: read_options: on_update: don't re-read the config file
Now that 00af718a made the lua read_options behavior much more similar
to the js behavior, the main difference was that lua does not re-read
the config file at on_update (but it does re-apply its stored content)
while js did re-read it.

Now the js on_update also does not re-read the config file and instead
applies its stored original content.

This is slightly hacky by adding an undocumented optional 4th argument
to read_options which allows overriding the config file content.
2019-12-22 14:51:13 +02:00
..
javascript js: read_options: on_update: don't re-read the config file 2019-12-22 14:51:13 +02:00
lua console: reduce border size 2019-12-22 12:52:36 +01:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c client API: rewrite property observation (again) 2019-12-19 11:11:51 +01:00
client.h client API: rewrite property observation (again) 2019-12-19 11:11:51 +01:00
command.c command: fix confusing displayed aspect-ratio 2019-12-22 02:32:50 +01:00
command.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
configfiles.c player: Optionally validate st_mtime when restoring playback state 2019-11-20 15:11:33 +01:00
core.h player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: don't pre-filter log level argument in mp.enable_messages() 2019-11-19 18:13:39 +02:00
loadfile.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
lua.c console.lua: add this script 2019-12-08 02:46:44 +01:00
main.c player: add comment to clarify FFmpeg ABI handling 2019-12-13 13:22:46 +01:00
misc.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c client API: rewrite property observation (again) 2019-12-19 11:11:51 +01:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c console.lua: add this script 2019-12-08 02:46:44 +01:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00