Consider gap/discontinuity limit as tolerance when determining buffer…
requested to merge github/fork/Orange-OpenSource/fix-buffer-length-when-discontinuity into development
Created by: bbert
… length If there is a gap/discontinituity in the stream, the buffer length may be errorneous without considering buffered data beyond the gap, and thus the player may continue download and buffering segments beyond required buffer length