summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-24 19:12:36 +0200
committerwm4 <wm4@nowhere>2019-10-24 19:12:36 +0200
commitb0827b4dc4417de36e596c5adde9cd28605fdf81 (patch)
treef1afd175e8318a6a3d87cabe56acc0daa93e62ef /video/out
parent5d5fdb77e990f95e0a51e16c7349a19e8cebc272 (diff)
downloadmpv-b0827b4dc4417de36e596c5adde9cd28605fdf81.tar.bz2
mpv-b0827b4dc4417de36e596c5adde9cd28605fdf81.tar.xz
client API: avoid lost wakeups
The commit linked below added temporary unlocking to update_prop(), which is indirectly called by mpv_wait_event(). If an unlock happens, and no property change event is returned, we must re-poll the event queue. Rechecking the state on unlocks is basically a standard requirement for code using condition variables. Untested beyond a simple test. Fixes: 065c307e8e7dbf
Diffstat (limited to 'video/out')
0 files changed, 0 insertions, 0 deletions