diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 8fde63e255..5fbcd1ca3d 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -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 : ""); + + if (!client->mpd_node->profiles) + return; if (g_strstr_len (client->mpd_node->profiles, -1, "urn:mpeg:dash:profile:isoff-on-demand:2011")) {