adaptivedemux: Retry downloading a fragment immediately if any in live streaming
authorSeungha Yang <sh.yang@lge.com>
Fri, 24 Mar 2017 06:04:21 +0000 (15:04 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 9 Apr 2017 07:56:32 +0000 (10:56 +0300)
commitea588ae0e0c0754ab3cc8470e6427f3806e0d6ac
treec9aea8c7b4437006ffcbf6c1521c1fb940f36c53
parent41996ad9c0072af306eec92e869e2c0d1861084a
adaptivedemux: Retry downloading a fragment immediately if any in live streaming

At the moment that demux is waiting manifest update, the target sequence
of fragment was advanced already. So, checking stream_has_next_fragment()
means looking for the next fragment of target fragment.
This might cause unexpected buffering if each fragment has
large duration and manifest is listing only limited number of fragments.

https://bugzilla.gnome.org/show_bug.cgi?id=780494
gst-libs/gst/adaptivedemux/gstadaptivedemux.c