summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-25 19:11:58 +0200
committerwm4 <wm4@nowhere>2014-04-30 11:45:31 +0200
commit491f633a208ab1b16ad39653b4ccdf180fd7505d (patch)
treedabf45c0f700e65c3085b13c618422e4536f584c /wscript
parenteb5e45855a017da2f0199a8ecd0d1245db48d5ab (diff)
downloadmpv-491f633a208ab1b16ad39653b4ccdf180fd7505d.tar.bz2
mpv-491f633a208ab1b16ad39653b4ccdf180fd7505d.tar.xz
stream: use uninterruptible sleep on reconnecting
This is the only function which actually used the time argument of stream_check_interrupt(). Considering that the whole player freezes anyway, this is not worth the complication. Also generally reduce the maximum wait time due to timeout. Introduce exponential backoff, which makes the first reconnect retries faster, but still waits up to 500ms in the later retries.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions