summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-11-09 13:43:16 +0100
committerBastien Nocera <hadess@hadess.net>2019-11-09 14:16:54 +0100
commit29cbef5dd74f598219d89a88520bc38013532530 (patch)
treed7069dfac9c07e9bfb06734156352a9e5b372d46
parenta01615f6eb3a60da6f7845b6a0f0795f4bf54755 (diff)
downloadtotem-pl-parser-29cbef5dd74f598219d89a88520bc38013532530.tar.gz
plparser: Also try to parse with quvi if the scheme is https
And not just http!
-rw-r--r--plparse/totem-pl-parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index bfc9a7f..8fb0eab 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -1813,7 +1813,8 @@ totem_pl_parser_parse_internal (TotemPlParser *parser,
uri = g_file_get_uri (file);
/* Should we try to parse it with quvi? */
- if (g_file_has_uri_scheme (file, "http")) {
+ if (g_file_has_uri_scheme (file, "http") ||
+ g_file_has_uri_scheme (file, "https")) {
if (uri != NULL && totem_pl_parser_is_videosite (uri, parser->priv->debug) != FALSE) {
ret = totem_pl_parser_add_videosite (parser, file, base_file, parse_data, NULL);
if (ret == TOTEM_PL_PARSER_RESULT_SUCCESS)