mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
dashdemux: added check that availabilityStartTime is present for live streams
https://bugzilla.gnome.org/show_bug.cgi?id=757602
This commit is contained in:
parent
2918dff2e0
commit
88f509a710
1 changed files with 5 additions and 0 deletions
|
@ -684,6 +684,11 @@ gst_dash_demux_setup_streams (GstAdaptiveDemux * demux)
|
|||
period_idx = 0;
|
||||
if (gst_mpd_client_is_live (dashdemux->client)) {
|
||||
GDateTime *g_now;
|
||||
if (dashdemux->client->mpd_node->availabilityStartTime == NULL) {
|
||||
ret = FALSE;
|
||||
GST_ERROR_OBJECT (demux, "MPD does not have availabilityStartTime");
|
||||
goto done;
|
||||
}
|
||||
if (dashdemux->clock_drift == NULL) {
|
||||
gchar **urls;
|
||||
urls =
|
||||
|
|
Loading…
Reference in a new issue