summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-30 18:29:24 +0100
committerwm4 <wm4@nowhere>2016-10-30 18:29:24 +0100
commitbc77565838bb32074c4798b8e4bf2c912c93c525 (patch)
treec43245c99e887b0f2546801216d074018885adae /player/playloop.c
parentb0ef3dd4fb49b8fe111b00ca44c30b9890be0282 (diff)
downloadmpv-bc77565838bb32074c4798b8e4bf2c912c93c525.tar.bz2
mpv-bc77565838bb32074c4798b8e4bf2c912c93c525.tar.xz
vo_opengl_cb: fix a race condition
When pthread_cond_timedwait(), the condition we are checking for could be true or false. This code assumed it was always false. This should be an extremely obscure race condition, since it can happen only if timeout and the condition changing sort of happen at the same time, or the lock is held for a longer time (which it normally isn't). But I could observe it a few times.
Diffstat (limited to 'player/playloop.c')
0 files changed, 0 insertions, 0 deletions