There was an error while loading. Please reload this page.
1 parent 37cff1c commit 02dd6acCopy full SHA for 02dd6ac
1 file changed
src/entry-points/content/ElementPlaybackControllerCloning/Lookahead.ts
@@ -574,6 +574,9 @@ export default class Lookahead {
574
// we don't loose too much time not skipping them anyway.
575
if (silenceDuration < 0.010) {
576
if (IS_DEV_MODE) {
577
+ // TODO refactor: we call `pushNewSilenceRange` regardless of whether
578
+ // the silence was long enough to be skipped given `marginBefore` and
579
+ // `marginAfter`, so this warning is giving false alarms.
580
if (silenceDuration <= 0) {
581
if (silenceDuration < -0.050) {
582
console.error('Huge negative silence duration', silenceDuration);
0 commit comments