mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
dashdemux: fix coredump issue with external AdaptationSet
fix wrong AdaptationSet list iterator https://bugzilla.gnome.org/show_bug.cgi?id=790812
This commit is contained in:
parent
6a5bae5343
commit
77321f62dd
1 changed files with 4 additions and 4 deletions
|
@ -3708,8 +3708,8 @@ gst_mpd_client_fetch_on_load_external_resources (GstMpdClient * client)
|
||||||
gst_mpd_client_fetch_external_adaptation_set (client, period,
|
gst_mpd_client_fetch_external_adaptation_set (client, period,
|
||||||
adapt_set);
|
adapt_set);
|
||||||
|
|
||||||
prev = l->prev;
|
prev = m->prev;
|
||||||
period->AdaptationSets = g_list_delete_link (period->AdaptationSets, l);
|
period->AdaptationSets = g_list_delete_link (period->AdaptationSets, m);
|
||||||
gst_mpdparser_free_adaptation_set_node (adapt_set);
|
gst_mpdparser_free_adaptation_set_node (adapt_set);
|
||||||
adapt_set = NULL;
|
adapt_set = NULL;
|
||||||
|
|
||||||
|
@ -3729,9 +3729,9 @@ gst_mpd_client_fetch_on_load_external_resources (GstMpdClient * client)
|
||||||
|
|
||||||
/* Update our iterator to the first new adapt_set if any, or the next */
|
/* Update our iterator to the first new adapt_set if any, or the next */
|
||||||
if (prev)
|
if (prev)
|
||||||
l = prev->next;
|
m = prev->next;
|
||||||
else
|
else
|
||||||
l = period->AdaptationSets;
|
m = period->AdaptationSets;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue