mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 23:05:49 +00:00
fix: keep temporal blur disabled
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user