From 536d18ebf2249e2fab0a39559462065b9d82b76d Mon Sep 17 00:00:00 2001 From: TNTwise Date: Wed, 2 Oct 2024 21:45:52 -0500 Subject: [PATCH] fix upscaling --- backend/src/RenderVideo.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/backend/src/RenderVideo.py b/backend/src/RenderVideo.py index fc4cae75..8fde45c4 100644 --- a/backend/src/RenderVideo.py +++ b/backend/src/RenderVideo.py @@ -214,14 +214,9 @@ def render(self): frame = self.upscale(self.frameSetupFunction(frame)) if self.interpolateModel: - """if self.currentTransitionFrameNumber == counter: - self.renderInterpolate(frame, True) - self.currentTransitionFrameNumber = self.getTransitionFrame() - else: - self.renderInterpolate(frame) - self.writeQueue.put(frame)""" # old method self.renderInterpolate(frame, self.scDetectFunc(frame)) - self.writeQueue.put(frame) + + self.writeQueue.put(frame) else: sleep(1) self.writeQueue.put(None)