Commit 37e13494 authored by Seungha Yang's avatar Seungha Yang Committed by Sebastian Dröge

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
parent 3c31c472
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment