Remove comments that are no longer needed
The code these describes was removed a while back but these vestigial comments remained
Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -926,15 +926,11 @@ videojs.HlsHandler.prototype.fillBuffer = function(mediaIndex) { | ... | @@ -926,15 +926,11 @@ videojs.HlsHandler.prototype.fillBuffer = function(mediaIndex) { |
926 | segmentInfo.playlist.mediaSequence + mediaIndex) + this.playlists.expired_; | 926 | segmentInfo.playlist.mediaSequence + mediaIndex) + this.playlists.expired_; |
927 | } | 927 | } |
928 | 928 | ||
929 | // If we have seeked into a non-buffered time-range, remove all buffered | ||
930 | // time-ranges because they could have been incorrectly placed originally | ||
931 | if (this.tech_.seeking() && outsideBufferedRanges) { | 929 | if (this.tech_.seeking() && outsideBufferedRanges) { |
932 | // If there are discontinuities in the playlist, we can't be sure of anything | 930 | // If there are discontinuities in the playlist, we can't be sure of anything |
933 | // related to time so we reset the timestamp offset and start appending data | 931 | // related to time so we reset the timestamp offset and start appending data |
934 | // anew on every seek | 932 | // anew on every seek |
935 | if (segmentInfo.playlist.discontinuityStarts.length) { | 933 | if (segmentInfo.playlist.discontinuityStarts.length) { |
936 | // Now that the forward buffer is clear, we have to set timestamp offset to | ||
937 | // the start of the buffered region | ||
938 | segmentInfo.timestampOffset = segmentTimestampOffset; | 934 | segmentInfo.timestampOffset = segmentTimestampOffset; |
939 | } | 935 | } |
940 | } else if (segment.discontinuity && currentBuffered.length) { | 936 | } else if (segment.discontinuity && currentBuffered.length) { | ... | ... |
-
Please register or sign in to post a comment