Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Sep 20, 2024
1 parent 875840b commit 86f3bb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/RenderVideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ def renderInterpolate(self):
if not self.isPaused:
self.writeQueue.put(self.frame0)
frame1 = self.readQueue.get()
setupFrame1 = self.frameSetupFunction(frame1)
if frame1 is None:
break
setupFrame1 = self.frameSetupFunction(frame1)


if frameNum != self.transitionFrame:
for n in range(self.ceilInterpolateFactor - 1):
Expand All @@ -235,7 +236,7 @@ def renderInterpolate(self):
else:
sleep(1)
removeFile(self.pausedFile)
self.writeQueue.put(self.frame0)

self.writeQueue.put(None)
log("Finished Interpolation")

Expand Down

0 comments on commit 86f3bb7

Please sign in to comment.