summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-25 19:11:58 +0200
committerwm4 <wm4@nowhere>2014-04-25 19:11:58 +0200
commit3d51ef3dc83ea59a47c0eccf4ae93ae2a441ceb7 (patch)
tree89f44daa62ea10f38cf4d9da3dbeeb114550d668 /input
parentcbeb558c6c635259e6fc98fe595b7011a3e09b92 (diff)
downloadmpv-3d51ef3dc83ea59a47c0eccf4ae93ae2a441ceb7.tar.bz2
mpv-3d51ef3dc83ea59a47c0eccf4ae93ae2a441ceb7.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 'input')
0 files changed, 0 insertions, 0 deletions