From a1213311864297c1cd0232ce367171c461393a3d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 17 Oct 2014 00:05:02 +0200 Subject: stream: better error message for unmatched protocol See #1187. --- stream/stream.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/stream.c b/stream/stream.c index f50003660c..fe80028091 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -371,7 +371,9 @@ struct stream *stream_create(const char *url, int flags, } if (!s) { - mp_err(log, "No stream found to handle url %s\n", url); + mp_err(log, "No protocol handler found to open URL %s\n", url); + mp_err(log, "The protocol is either unsupported, or was disabled " + "at compile-time.\n"); goto done; } -- cgit v1.2.3