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
This commit is contained in:
Seungha Yang 2016-11-20 15:10:42 +09:00 committed by Sebastian Dröge
parent 3c31c47259
commit 37e13494ec

View file

@ -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);
}
}