mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
dash: mpdparser: allow periods without start time for live streams
Live streams can have undefined start times for the periods and mpdparser can let that pass instead of erroring out
This commit is contained in:
parent
cff4498f7c
commit
b01a3729c0
1 changed files with 2 additions and 0 deletions
|
@ -2996,6 +2996,8 @@ gst_mpd_client_setup_media_presentation (GstMpdClient * client)
|
|||
} else if (idx == 0 && client->mpd_node->type == GST_MPD_FILE_TYPE_STATIC) {
|
||||
/* first period of a static MPD file, start time is 0 */
|
||||
start = 0;
|
||||
} else if (client->mpd_node->type == GST_MPD_FILE_TYPE_DYNAMIC) {
|
||||
/* this should be a live stream, let this pass */
|
||||
} else {
|
||||
/* this is an 'Early Available Period' */
|
||||
goto early;
|
||||
|
|
Loading…
Reference in a new issue