summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-23 00:20:57 +0200
committerwm4 <wm4@nowhere>2014-05-23 00:20:57 +0200
commitb69d57ebe87cb43ea29ce7b7146d63338b7ed3e7 (patch)
tree802156fbf53b1531afe32d14e7113eb807f9af82 /player
parent2e6b0b4ee47d227bcc1d32d23859532592b33386 (diff)
downloadmpv-b69d57ebe87cb43ea29ce7b7146d63338b7ed3e7.tar.bz2
mpv-b69d57ebe87cb43ea29ce7b7146d63338b7ed3e7.tar.xz
timer: workaround for crappy operating systems
Some operating systems apparently can't deal with really long timeouts in pthread_cond_timedwait(). Passing a time about 300000 in the future makes the call return immediately. (tv_sec/time_t doesn't overflow in this situation.) Reduce the wait time to about 100 days, which seems to work fine. The list of affected OSes follows: OSX
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions