summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 255e583de2..4f63236d6a 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -302,7 +302,8 @@ struct stream *stream_create(const char *url, int flags,
continue;
}
if (r != STREAM_OK) {
- mp_err(log, "Failed to open %s.\n", url);
+ if (!mp_cancel_test(c))
+ mp_err(log, "Failed to open %s.\n", url);
goto done;
}
}