mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-22 02:18:45 -04:00
set minimum speed to 0, closes #29
This commit is contained in:
@@ -135,7 +135,7 @@ chrome.extension.sendMessage({}, function(response) {
|
||||
} else if (action === 'slower') {
|
||||
// Audio playback is cut at 0.05:
|
||||
// https://code.google.com/p/chromium/codesearch#chromium/src/media/filters/audio_renderer_algorithm.cc&l=49
|
||||
var s = Math.max(v.playbackRate - tc.settings.speedStep, 0.05);
|
||||
var s = Math.max(v.playbackRate - tc.settings.speedStep, 0);
|
||||
setSpeed(v, s);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user