diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-08-29 14:31:29 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-29 23:19:03 -0500 |
commit | 00c812ff4a3f5c7685a47885916b4bcb3a2c01d2 (patch) | |
tree | dc5202c327b0ea0e59eff88dc65647a37b8c9e3a | |
parent | 2ae81f2a78fcf71ac14099cf6642cc6181299d27 (diff) | |
download | yt-local-00c812ff4a3f5c7685a47885916b4bcb3a2c01d2.tar.lz yt-local-00c812ff4a3f5c7685a47885916b4bcb3a2c01d2.tar.xz yt-local-00c812ff4a3f5c7685a47885916b4bcb3a2c01d2.zip |
av-merge: Fix numDeleted not incremented during segment deletion
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rw-r--r-- | youtube/static/js/av-merge.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index 8915ba6..d09fa0b 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -249,6 +249,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) { if (entry.have) { this.reportWarning('Deleting segment', i); this.sourceBuffer.remove(start, end); + numDeleted++; } } } |