summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-17 00:05:02 +0200
committerwm4 <wm4@nowhere>2014-10-17 00:05:02 +0200
commita1213311864297c1cd0232ce367171c461393a3d (patch)
tree5ba50a8eb4bfd1fdb7536482e33738c0ed8850cf /stream
parent708ca05cc69468fdb4b83f80bb7b85a14ee5dd37 (diff)
downloadmpv-a1213311864297c1cd0232ce367171c461393a3d.tar.bz2
mpv-a1213311864297c1cd0232ce367171c461393a3d.tar.xz
stream: better error message for unmatched protocol
See #1187.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c4
1 files changed, 3 insertions, 1 deletions
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;
}