Update this.frameRate in filters.

We weren't correctly updating the framerate, which caused us to
recheck every 30 frames.
This commit is contained in:
Juliusz Chroboczek
2026-04-29 19:41:02 +02:00
parent b0ce21defe
commit 56220bb942
+1
View File
@@ -1212,6 +1212,7 @@ Filter.prototype.draw = async function() {
});
if(frameRate && frameRate != this.frameRate) {
clearInterval(this.timer);
this.frameRate = frameRate;
this.timer = setInterval(() => this.draw(), 1000 / this.frameRate);
}
}