[totem-pl-parser/wip/hadess/remove-quvi: 1/3] podcast: Pass debug to videosite helper
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser/wip/hadess/remove-quvi: 1/3] podcast: Pass debug to videosite helper
- Date: Wed, 23 Jun 2021 14:57:10 +0000 (UTC)
commit bac6a648f9a79cb2db3bcb57b38f0f27933dec10
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 23 16:22:22 2021 +0200
podcast: Pass debug to videosite helper
Make sure to pass the debug flag down from the parser to the videosite
helper.
plparse/totem-pl-parser-podcast.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index a5222da..87917d8 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -273,7 +273,7 @@ parse_rss_item (TotemPlParser *parser, xml_node_t *parent)
if (tmp != NULL)
content_type = tmp;
} else if (g_ascii_strcasecmp (node->name, "link") == 0 &&
- totem_pl_parser_is_videosite (node->data, FALSE) != FALSE) {
+ totem_pl_parser_is_videosite (node->data, totem_pl_parser_is_debugging_enabled
(parser)) != FALSE) {
uri = node->data;
} else if (g_ascii_strcasecmp (node->name, "image") == 0) {
const char *tmp;
@@ -294,7 +294,7 @@ parse_rss_item (TotemPlParser *parser, xml_node_t *parent)
if (id != NULL &&
uri == NULL &&
- totem_pl_parser_is_videosite (id, FALSE) != FALSE)
+ totem_pl_parser_is_videosite (id, totem_pl_parser_is_debugging_enabled (parser)) != FALSE)
uri = id;
if (uri != NULL) {
@@ -580,7 +580,7 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
href = xml_parser_get_property (node, "href");
if (href == NULL)
continue;
- if (!totem_pl_parser_is_videosite (href, FALSE))
+ if (!totem_pl_parser_is_videosite (href, totem_pl_parser_is_debugging_enabled
(parser)))
continue;
uri = href;
}
@@ -614,7 +614,7 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
prop = xml_parser_get_property (child, "url");
if (prop == NULL)
continue;
- if (!totem_pl_parser_is_videosite (prop, FALSE))
+ if (!totem_pl_parser_is_videosite (prop,
totem_pl_parser_is_debugging_enabled (parser)))
continue;
uri = prop;
} else if (g_ascii_strcasecmp (child->name, "media:thumbnail") == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]