Skip to content

Commit

Permalink
fix upscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Oct 3, 2024
1 parent 516a1e9 commit 536d18e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions backend/src/RenderVideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 536d18e

Please sign in to comment.