av-merge: Fix numDeleted not incremented during segment deletion
Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
parent
2ae81f2a78
commit
00c812ff4a
@ -249,6 +249,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) {
|
||||
if (entry.have) {
|
||||
this.reportWarning('Deleting segment', i);
|
||||
this.sourceBuffer.remove(start, end);
|
||||
numDeleted++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user