]> git.sesse.net Git - vlc/commit
input: do not update timings & stats if paused
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 15:35:59 +0000 (17:35 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 18:30:19 +0000 (20:30 +0200)
commit7adcf5f7c65007f3967c36bb4791eb0c634e8a61
treefe1de67ca2f102b4575f9c7703ab56020efdcfe3
parent327ea9c108f7fc1cc2336ab4c7dd7ca7e4768184
input: do not update timings & stats if paused

The values will typically not change while waiting for control requests
and not processing the demux and outputs. Even if the values do change
(e.g. due to a seek request), the demux needs to be called to recompute
the updated values: see demux_Control() calls in MainLoopStatistics().

Note that the intrinsic computational savings from this commit are
probably negligible. The interesting aspect is the removal of one
wake-up source within the input control loop. This commit does not
remove nor add any wake-up however.
src/input/input.c