From f0b3a50c23dd3223cf15709a90a044df4f39bc83 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 8 Aug 2020 22:23:34 +0200 Subject: [PATCH] increase maximum audio speed indication (uncompressed hd is about 700kbps) --- htdocs/lib/ProgressBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/ProgressBar.js b/htdocs/lib/ProgressBar.js index 59d3a91..691d2ff 100644 --- a/htdocs/lib/ProgressBar.js +++ b/htdocs/lib/ProgressBar.js @@ -85,7 +85,7 @@ AudioSpeedProgressBar.prototype.getDefaultText = function() { }; AudioSpeedProgressBar.prototype.setSpeed = function(speed) { - this.set(speed / 500000, "Audio stream [" + (speed / 1000).toFixed(0) + " kbps]", false); + this.set(speed / 1000000, "Audio stream [" + (speed / 1000).toFixed(0) + " kbps]", false); }; AudioOutputProgressBar = function(el, sampleRate) {