mirror of https://github.com/mpv-player/mpv
stream: silence failed seek message on termination
Seems to happen often with ytdl pseudo-DASH streams, so whatever. I couldn't reproduce it and check what triggers it, I just remember seeing the error message and found it annoying.
This commit is contained in:
parent
9b10869a61
commit
19a38c4b1f
|
@ -490,7 +490,8 @@ static bool stream_seek_unbuffered(stream_t *s, int64_t newpos)
|
|||
return false;
|
||||
}
|
||||
if (s->seek(s, newpos) <= 0) {
|
||||
MP_ERR(s, "Seek failed\n");
|
||||
int level = mp_cancel_test(s->cancel) ? MSGL_V : MSGL_ERR;
|
||||
MP_MSG(s, level, "Seek failed\n");
|
||||
return false;
|
||||
}
|
||||
stream_drop_buffers(s);
|
||||
|
|
Loading…
Reference in New Issue