mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 05:37:04 +00:00
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");
|
MP_VERBOSE(mpctx, "Prefetched URL failed, retrying.\n");
|
||||||
cancel_open(mpctx);
|
cancel_open(mpctx);
|
||||||
} else {
|
} 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");
|
MP_VERBOSE(mpctx, "Aborting onging prefetch of wrong URL.\n");
|
||||||
|
}
|
||||||
cancel_open(mpctx);
|
cancel_open(mpctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user