diff options
author | wm4 <wm4@nowhere> | 2016-04-20 10:41:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-20 10:41:09 +0200 |
commit | 8dbc93a94cdc3c8e08ac9df5af0c26d470751f46 (patch) | |
tree | d7c3ebaf953f3e4c00a6a2d080d19927d8ea4c97 /common/codecs.c | |
parent | 8db9206c54cb2208178e23e21961545741810a9f (diff) | |
download | mpv-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 'common/codecs.c')
0 files changed, 0 insertions, 0 deletions