mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dashdemux: fetch wrong segment at the end of Period
Fix check for end of Period time to avoid trying to fetch a segment that doesn't exist https://bugzilla.gnome.org/show_bug.cgi?id=746038
This commit is contained in:
parent
d925e7fd19
commit
5a1ed14c3c
1 changed files with 1 additions and 1 deletions
|
@ -2954,7 +2954,7 @@ gst_mpdparser_get_chunk_by_index (GstMpdClient * client, guint indexStream,
|
|||
segment->duration = duration;
|
||||
segment->SegmentURL = NULL;
|
||||
|
||||
if (segment->start_time > stream_period->duration) {
|
||||
if (segment->start_time >= stream_period->duration) {
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue