adaptivedemux: Check live seeking range more often
authorEdward Hervey <edward@centricular.com>
Thu, 25 May 2017 07:48:53 +0000 (09:48 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 12 Jun 2017 14:07:29 +0000 (16:07 +0200)
commitff924fbdc687b224bf3744fd9ef6b5ff32eb99d1
tree392e0f677b36ffac1d9214fe6cab2fa53fa80c30
parente1bbea8355bce5917710b4e18ea8533b37a3d616
adaptivedemux: Check live seeking range more often

The live seeking range was only checked when doing actual seeks. This was
assuming that the rate would always be 1.0 (i.e. the playback would
advance in realtime, and therefore fragments would always be available
since the seeking window moves at the same rate).

With non-1.0 rates, this no longer becomes valid, and therefore we need
to check whether we are still within the live seeking range when advancing.

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