diff options
author | wm4 <wm4@nowhere> | 2016-09-21 14:32:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-21 15:47:51 +0200 |
commit | b521f15ae9799a08d1cb328e3c1ef294d75f30c2 (patch) | |
tree | c8f4ab6e0c2eccd83704f5ca62dade1cea1f001e /player/client.c | |
parent | 33598182a008170b0fea05f0d149acfefaf99d0c (diff) | |
download | mpv-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.c')
0 files changed, 0 insertions, 0 deletions