diff options
author | Bastien Nocera <hadess@hadess.net> | 2010-08-31 17:36:42 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-08-31 17:44:43 +0100 |
commit | e18bc5c1e2ab11fe72c6d2165cf32b5850e3bb40 (patch) | |
tree | 2e9bb03d86ff1459c24e6795970b4fcb033e010c /src/totem-uri.c | |
parent | 4413725c61a3ef49a9aa2f52610a5b812ce2bce4 (diff) | |
download | totem-e18bc5c1e2ab11fe72c6d2165cf32b5850e3bb40.tar.gz |
Don't try to load subtitles for streams
So not from HTTP, RTSP, or RTMP.
Diffstat (limited to 'src/totem-uri.c')
-rw-r--r-- | src/totem-uri.c | 4 |
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? */ |