fix: keep temporal blur disabled

This commit is contained in:
webadderall
2026-05-07 19:15:38 +10:00
parent 91a682bd09
commit 6ff71e4bea
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -78,6 +78,8 @@ import { ForwardFrameSource } from "./forwardFrameSource";
import { resolveMediaElementSource } from "./localMediaSource";
import { buildTemporalSamplePlanUs, getTemporalMotionBlurConfig } from "./temporalMotionBlur";
const TEMPORAL_ZOOM_MOTION_BLUR_ENABLED = false;
interface FrameRenderConfig {
width: number;
height: number;
@@ -1276,6 +1278,7 @@ export class FrameRenderer {
}
const temporalSnapshot =
TEMPORAL_ZOOM_MOTION_BLUR_ENABLED &&
(this.config.zoomTemporalMotionBlur ?? 0) > 0 &&
typeof frameDurationUs === "number" &&
frameDurationUs > 0
+3
View File
@@ -94,6 +94,8 @@ import {
} from "./shadowProfile";
import { buildTemporalSamplePlanUs, getTemporalMotionBlurConfig } from "./temporalMotionBlur";
const TEMPORAL_ZOOM_MOTION_BLUR_ENABLED = false;
import type { ExportRenderBackend } from "./types";
interface FrameRenderConfig {
@@ -2717,6 +2719,7 @@ export class FrameRenderer {
}
const temporalSnapshot =
TEMPORAL_ZOOM_MOTION_BLUR_ENABLED &&
(this.config.zoomTemporalMotionBlur ?? 0) > 0 &&
typeof frameDurationUs === "number" &&
frameDurationUs > 0