From 0975d8aa6cd8655c94661987a9ee03e11e0330d5 Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sat, 6 Nov 2010 10:56:55 +0200 Subject: Better error message when trying to stream rtmp video --- src/vdr-plugin/webvideo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vdr-plugin') 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; -- cgit v1.2.3