summaryrefslogtreecommitdiffstats
path: root/player/client.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-21 14:32:58 +0200
committerwm4 <wm4@nowhere>2016-09-21 15:47:51 +0200
commitb521f15ae9799a08d1cb328e3c1ef294d75f30c2 (patch)
treec8f4ab6e0c2eccd83704f5ca62dade1cea1f001e /player/client.h
parent33598182a008170b0fea05f0d149acfefaf99d0c (diff)
downloadmpv-b521f15ae9799a08d1cb328e3c1ef294d75f30c2.tar.bz2
mpv-b521f15ae9799a08d1cb328e3c1ef294d75f30c2.tar.xz
lua: run timers only after draining the event queue
Instead of rechecking the timers every time after an event is read, do it only once the event queue is empty. This is probably slightly more efficient, and facilitates the next commit.
Diffstat (limited to 'player/client.h')
0 files changed, 0 insertions, 0 deletions