diff options
author | wm4 <wm4@nowhere> | 2017-01-19 07:56:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-19 07:56:49 +0100 |
commit | 06c8ec27f61a6958cb4eb32b18d24bc5686e6c8e (patch) | |
tree | f4fe1fb2e1b34a6f326bbe041777285dbd45fb22 | |
parent | e277fadd60350caad1fc31e92a5076692e61dcc9 (diff) |
player: also log if completely prefetched URL is discarded
Seems like quite an important/interesting case?
-rw-r--r-- | player/loadfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index 8023428e75..daccfed7c4 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -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); } } |