]> git.sesse.net Git - vlc/commit
input: tickless pause
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 16:14:39 +0000 (18:14 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 18:38:43 +0000 (20:38 +0200)
commitf658f93c23312ca6585ddaf06bc09cf84771187f
treebf51b7e8d98599b310dc23ffa83d04e6f090a6ce
parent2f4d59645b630bc8386b493042b1d071357e3b35
input: tickless pause

Now we no longer update times and statistics in the control loop
(where it was kinda pointless). If there is no wake-up from the ES
output, then the input thread only needs to wait for control requests
- which means it can sleep without time-out.

In practice, that corresponds to the input thread being paused and
not buffering (buffering while paused is possible due to seek).
src/input/input.c