summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-20 10:41:09 +0200
committerwm4 <wm4@nowhere>2016-04-20 10:41:09 +0200
commit8dbc93a94cdc3c8e08ac9df5af0c26d470751f46 (patch)
treed7c3ebaf953f3e4c00a6a2d080d19927d8ea4c97 /input
parent8db9206c54cb2208178e23e21961545741810a9f (diff)
downloadmpv-8dbc93a94cdc3c8e08ac9df5af0c26d470751f46.tar.bz2
mpv-8dbc93a94cdc3c8e08ac9df5af0c26d470751f46.tar.xz
player: minor simplification to buffering property updates
Strictly schedule an update in regular intervals as long as either stream cache or demuxer are prefetching. Don't update just always because the stream cache is enabled ("idle != -1") or cache-related properties are observed (mp_client_event_is_registered()). Also, the "idle" variable was awkard; get rid of it with equivalent code.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions