summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-12 21:47:41 +0100
committerwm4 <wm4@nowhere>2014-11-12 21:47:41 +0100
commit09e08bfe2e1502c4772c94080b49ddf30a27fd69 (patch)
tree2b0d31b8732298366f94604e7647f10b9ffeb317 /audio
parentbe9eb083894f207cd390bf7de77f762d754f9a7c (diff)
downloadmpv-09e08bfe2e1502c4772c94080b49ddf30a27fd69.tar.bz2
mpv-09e08bfe2e1502c4772c94080b49ddf30a27fd69.tar.xz
demux: update cache state when paused
This was removed in commit 480f82fa. This caused the cache display not to update while paused, because the update_cache() function is never called in the thread (now I remember why the extra call was "needed"). The old implementation intentionally run update_cache() only before waiting on a mutex, with no further checks for the condition variable. In theory, this is strictly not sane, but since it was just for the retrieval of the very fuzzy cache status, it was ok. Now we want to call update_cache() outside of the mutex though - which means that in order to avoid missed wakeups, a proper condition has to be used.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions