mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
mpdparser: do not dereference profiles is absent
These are used to apply restrictions on what the MPD file may use, so no profile means no restrictions. Besides, nothing actually uses the profiles (yet) anyway. https://bugzilla.gnome.org/show_bug.cgi?id=750869
This commit is contained in:
parent
eab158a669
commit
5c8f702116
1 changed files with 5 additions and 1 deletions
|
@ -3406,7 +3406,11 @@ gst_mpd_client_set_uri_downloader (GstMpdClient * client,
|
|||
static void
|
||||
gst_mpd_client_check_profiles (GstMpdClient * client)
|
||||
{
|
||||
GST_DEBUG ("Profiles: %s", client->mpd_node->profiles);
|
||||
GST_DEBUG ("Profiles: %s",
|
||||
client->mpd_node->profiles ? client->mpd_node->profiles : "<none>");
|
||||
|
||||
if (!client->mpd_node->profiles)
|
||||
return;
|
||||
|
||||
if (g_strstr_len (client->mpd_node->profiles, -1,
|
||||
"urn:mpeg:dash:profile:isoff-on-demand:2011")) {
|
||||
|
|
Loading…
Reference in a new issue