diff options
author | wm4 <wm4@nowhere> | 2020-02-29 20:00:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-29 20:12:31 +0100 |
commit | 84fe9c2a474e58a69c1b11e6de92107c78598604 (patch) | |
tree | 7441e6a91d344ce60da515ba09465e7c938b623f /audio/out/ao_wasapi.h | |
parent | b0b5de306387f03f7f79a34ecc7d2aaf223f180a (diff) | |
download | mpv-84fe9c2a474e58a69c1b11e6de92107c78598604.tar.bz2 mpv-84fe9c2a474e58a69c1b11e6de92107c78598604.tar.xz |
filter: fix possibly lost async wakeups
mp_filter_mark_async_progress() can asynchronously mark a filter for
processing, without waking up the filter thread. (It's some sort of
idiotic micro-optimization I guess?) But since it sets async_pending
without doing the wakeup, a mp_filter_wakeup() after this will do
nothing, and the wakeup is lost. Fix it by checking for the needed
wakeup separately.
Fortunately, nothing used this function yet, so there is no impact.
Diffstat (limited to 'audio/out/ao_wasapi.h')
0 files changed, 0 insertions, 0 deletions