[totem-pl-parser/wip/hadess/add-ignored-extensions: 5/8] plparser: Also try to parse with quvi if the scheme is https
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser/wip/hadess/add-ignored-extensions: 5/8] plparser: Also try to parse with quvi if the scheme is https
- Date: Sat, 9 Nov 2019 13:14:04 +0000 (UTC)
commit 1fde2bb185e1ee4939ec3ca1fafab96c43e6b12e
Author: Bastien Nocera <hadess hadess net>
Date: Sat Nov 9 13:43:16 2019 +0100
plparser: Also try to parse with quvi if the scheme is https
And not just http!
plparse/totem-pl-parser.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]