mirror of https://github.com/mpv-player/mpv
player: also log if completely prefetched URL is discarded
Seems like quite an important/interesting case?
This commit is contained in:
parent
e277fadd60
commit
06c8ec27f6
|
@ -879,8 +879,11 @@ static void open_demux_reentrant(struct MPContext *mpctx)
|
|||
MP_VERBOSE(mpctx, "Prefetched URL failed, retrying.\n");
|
||||
cancel_open(mpctx);
|
||||
} else {
|
||||
if (!done)
|
||||
if (done) {
|
||||
MP_VERBOSE(mpctx, "Dropping finished prefetch of wrong URL.\n");
|
||||
} else {
|
||||
MP_VERBOSE(mpctx, "Aborting onging prefetch of wrong URL.\n");
|
||||
}
|
||||
cancel_open(mpctx);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue