summaryrefslogtreecommitdiff
path: root/src/vdr-plugin
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-11-06 10:56:55 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2010-11-06 10:56:55 +0200
commit0975d8aa6cd8655c94661987a9ee03e11e0330d5 (patch)
tree380b382feae7802669481bd67e7df8aff6a787cf /src/vdr-plugin
parent04c364be7443c17866a20fbb92458e3f5f1a9f82 (diff)
downloadvdr-plugin-webvideo-0975d8aa6cd8655c94661987a9ee03e11e0330d5.tar.gz
vdr-plugin-webvideo-0975d8aa6cd8655c94661987a9ee03e11e0330d5.tar.bz2
Better error message when trying to stream rtmp video
Diffstat (limited to 'src/vdr-plugin')
-rw-r--r--src/vdr-plugin/webvideo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vdr-plugin/webvideo.c b/src/vdr-plugin/webvideo.c
index 90e018a..002c58d 100644
--- a/src/vdr-plugin/webvideo.c
+++ b/src/vdr-plugin/webvideo.c
@@ -254,6 +254,8 @@ void cPluginWebvideo::HandleFinishedRequests(void)
streamurl = req->GetResponse();
if (streamurl[0] == '\0')
Skins.Message(mtError, tr("Streaming failed: no URL"));
+ else if (strncmp(streamurl, "wvt://", 6) == 0)
+ Skins.Message(mtError, tr("Streaming not supported, try downloading"));
else if (!StartStreaming(streamurl))
Skins.Message(mtError, tr("Failed to launch media player"));
break;