diff options
author | wm4 <wm4@nowhere> | 2014-11-12 21:47:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-12 21:47:41 +0100 |
commit | 09e08bfe2e1502c4772c94080b49ddf30a27fd69 (patch) | |
tree | 2b0d31b8732298366f94604e7647f10b9ffeb317 /demux/demux_tv.c | |
parent | be9eb083894f207cd390bf7de77f762d754f9a7c (diff) |
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 'demux/demux_tv.c')
0 files changed, 0 insertions, 0 deletions