1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 08:33:34 +00:00
mpv/player
Avi Halachmi (:avih) 5b40db385a lua: idle observers: ensure timers are up-to-date
This fixes two issues, both of which resulted from the timers-wait
period not being re-calculated after idle-observers were executed:

- If timers were added from an idle observer then they could fire long
  after they were due (only when/if the next mpv event arrives).

- Idle observers don't execute in zero time, and the wait period for
  the next timer was implicitly extended by the idle observers
  execution time (because it was calculated before the idle observers).

This commit ensures that if idle-observers were executed, then the
timers wait period is re-calculated, which solves both issues.
2021-06-23 23:47:08 +03:00
..
javascript js: idle-observers: minor performance improvement 2021-06-22 18:17:11 +03:00
lua lua: idle observers: ensure timers are up-to-date 2021-06-23 23:47:08 +03:00
audio.c audio: fix replaygain being completely broken 2021-05-07 15:01:15 +02:00
client.c
client.h
command.c command: add a missing comma to MP_EVENT_WIN_STATE 2021-05-23 16:47:25 -05:00
command.h command: add internal INPUT_PROCESSED event 2020-11-16 20:29:58 +02:00
configfiles.c command: add delete-watch-later-config 2020-10-22 19:53:35 +00:00
core.h player/{core,loadfile}: make cover art loading more explicit 2021-03-09 23:26:26 +02:00
external_files.c player: change cover-art-auto behavior 2021-06-23 16:23:50 +00:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c js: add mp.utils.append_file 2021-06-13 22:53:37 +03:00
loadfile.c player/{core,loadfile}: make cover art loading more explicit 2021-03-09 23:26:26 +02:00
lua.c scripting (lua/js): utils.getpid: make wrapper of pid property 2021-05-01 16:07:05 +03:00
main.c demux: Move demuxer help to new standard mechanism 2021-03-28 19:46:32 +03:00
misc.c
osd.c
playloop.c command: add internal INPUT_PROCESSED event 2020-11-16 20:29:58 +02:00
screenshot.c screenshot: add --screenshot-sw option 2020-10-05 00:16:46 +02:00
screenshot.h
scripting.c player/scripting: fix use-after-free when loading script folders 2021-04-08 23:47:35 +03:00
sub.c sub: by default, don't render timestamps after video EOF 2021-06-23 16:10:29 -04:00
video.c