diff options
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c index 186fc7c79d..01c1819dbb 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -387,6 +387,8 @@ static int stream_reconnect(stream_t *s) #define RECONNECT_SLEEP_MS 1000 if (!s->streaming) return 0; + if (!s->end_pos || !s->seek || !(s->flags & MP_STREAM_SEEK)) + return 0; int64_t pos = s->pos; for (int retry = 0; retry < MAX_RECONNECT_RETRIES; retry++) { mp_msg(MSGT_STREAM, MSGL_WARN, |