diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-08-27 19:52:03 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-29 21:57:02 -0500 |
commit | dd01c8ca4c6a91df75ffa8e7531c7ca010a9a201 (patch) | |
tree | 3d612878967ebd286c41970018ff04c678869db9 /youtube | |
parent | 81e61f9893f369f2a4d8d2950aed9ee8b756e320 (diff) | |
download | yt-local-dd01c8ca4c6a91df75ffa8e7531c7ca010a9a201.tar.lz yt-local-dd01c8ca4c6a91df75ffa8e7531c7ca010a9a201.tar.xz yt-local-dd01c8ca4c6a91df75ffa8e7531c7ca010a9a201.zip |
av-merge: change QuotaExceeded messages to warnings
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/static/js/av-merge.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index 0754feb..72bcd4c 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -226,7 +226,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) { // Delete 3 segments (arbitrary) from beginning of buffer, making sure // not to delete current one var currentSegment = this.getSegmentIdx(this.video.currentTime); - this.reportDebug('QuotaExceededError. Deleting segments.'); + this.reportWarning('QuotaExceededError. Deleting segments.'); var numDeleted = 0; var i = 0; while (numDeleted < 3 && i < currentSegment) { @@ -234,7 +234,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) { let start = entry.tickStart/this.sidx.timeScale; let end = entry.tickEnd/this.sidx.timeScale; if (entry.have) { - this.reportDebug('Deleting segment', i); + this.reportWarning('Deleting segment', i); this.sourceBuffer.remove(start, end); } } |