summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
authorOscar Manglaras <57207260+CogentRedTester@users.noreply.github.com>2020-01-28 00:37:02 +1030
committersfan5 <sfan5@live.de>2020-02-06 22:57:53 +0100
commitc99cc13526a8b35f120d70e57e44d2b8dd46d400 (patch)
tree4ac826b74528f78aead6542bfb136a4a40cbe9ea /player/lua.c
parenta2eee88ccc5c858c7d38cd781b5a6e31c53a9963 (diff)
downloadmpv-c99cc13526a8b35f120d70e57e44d2b8dd46d400.tar.bz2
mpv-c99cc13526a8b35f120d70e57e44d2b8dd46d400.tar.xz
options.lua: avoid unnecessary on_update calls
The script was set up to only call on_update when the changelist was non-empty. However, since the size operator does not operate on dicts, it always returned 0 (which is truthy), thus on_update would always be called when the script-opts property changed.
Diffstat (limited to 'player/lua.c')
0 files changed, 0 insertions, 0 deletions