summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/totem-uri.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/totem-uri.c b/src/totem-uri.c
index bad6e19a4..b55a4fb6b 100644
--- a/src/totem-uri.c
+++ b/src/totem-uri.c
@@ -444,7 +444,9 @@ totem_uri_get_subtitle_uri (const char *uri)
GFile *file;
char *subtitle;
- if (g_str_has_prefix (uri, "http") != FALSE)
+ if (g_str_has_prefix (uri, "http") != FALSE ||
+ g_str_has_prefix (uri, "rtsp") != FALSE ||
+ g_str_has_prefix (uri, "rtmp") != FALSE)
return NULL;
/* Has the user specified a subtitle file manually? */