diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-16 18:10:00 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-16 18:10:00 -0500 |
commit | 5d753351c5edf89a8bdece12bdab8ca110fcae91 (patch) | |
tree | 31ea4b791457e0a5dc0f1f4e7abcd8fe8d3b2f56 /youtube/static | |
parent | df7e41b61a83320cd2b2ffb9a4a45234162672af (diff) | |
download | yt-local-5d753351c5edf89a8bdece12bdab8ca110fcae91.tar.lz yt-local-5d753351c5edf89a8bdece12bdab8ca110fcae91.tar.xz yt-local-5d753351c5edf89a8bdece12bdab8ca110fcae91.zip |
[frontend]: relax find segment
Diffstat (limited to 'youtube/static')
-rw-r--r-- | youtube/static/js/av-merge.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index e7d5c25..dcb0a9b 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -388,7 +388,7 @@ Stream.prototype.getSegmentIdx = function(videoTime) { } index = index + increment; } - this.reportError('Could not find segment index for time', videoTime); + this.reportInfo('Could not find segment index for time', videoTime); return 0; } Stream.prototype.checkBuffer = async function() { @@ -570,6 +570,9 @@ function addEvent(obj, eventName, func) { return new RegisteredEvent(obj, eventName, func); } +function reportInfo(...args){ + console.info(...args); +} function reportWarning(...args){ console.warn(...args); } |