diff options
author | xixi <xixi10111011@gmail.com> | 2015-03-11 23:03:24 +0800 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-03-15 12:05:48 +0000 |
commit | 18da30a929401e5c7478297445b50907b2940b54 (patch) | |
tree | f7f9285dc8a8e909c2c591704b02966037555846 | |
parent | 645a0c6d677c0841bb489a10776acd4304e0948c (diff) |
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
-rw-r--r-- | ext/dash/gstmpdparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 29c8c1add..578579f42 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -2931,7 +2931,7 @@ gst_mpdparser_get_chunk_by_index (GstMpdClient * client, guint indexStream, segment->duration = duration; segment->SegmentURL = NULL; - if (segment->start_time > stream_period->start + stream_period->duration) { + if (segment->start_time >= stream_period->start + stream_period->duration) { return FALSE; } } |