From 37e13494ecf547ab45a575527a58b205a1dfc3e3 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 20 Nov 2016 15:10:42 +0900 Subject: [PATCH] mpdparser: Modify return of the function for loading external resources to void gst_mpd_client_fetch_on_load_external_resources() never ever return FALSE due to modified external xml loading functions. https://bugzilla.gnome.org/show_bug.cgi?id=774463 --- ext/dash/gstmpdparser.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 4bccb961a8..8c32402367 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -3628,7 +3628,7 @@ gst_mpd_client_check_profiles (GstMpdClient * client) } } -static gboolean +static void gst_mpd_client_fetch_on_load_external_resources (GstMpdClient * client) { GList *l; @@ -3761,12 +3761,6 @@ gst_mpd_client_fetch_on_load_external_resources (GstMpdClient * client) l = l->next; } - - return TRUE; - -syntax_error: - - return FALSE; } gboolean @@ -3812,9 +3806,7 @@ gst_mpd_parse (GstMpdClient * client, const gchar * data, gint size) if (ret) { gst_mpd_client_check_profiles (client); - - if (!gst_mpd_client_fetch_on_load_external_resources (client)) - return FALSE; + gst_mpd_client_fetch_on_load_external_resources (client); } }