From fccdee45b291bbb4570650b6c1ff00dd21dbb43f Mon Sep 17 00:00:00 2001 From: tassaron Date: Sat, 3 Jun 2017 08:46:18 -0400 Subject: absolute path to main ui, bg video fixed --- video_thread.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'video_thread.py') diff --git a/video_thread.py b/video_thread.py index 4032c27..0d42406 100644 --- a/video_thread.py +++ b/video_thread.py @@ -56,13 +56,13 @@ class Worker(QtCore.QObject): def renderDispatch(self): print('Dispatching Frames for Compositing...') - if not self.imBackground: - # increment background video frame for next iteration - if self.bgI < len(self.backgroundFrames)-1 and i != 0: - self.bgI += 1 for i in range(0, len(self.completeAudioArray), self.sampleSize): self.compositeQueue.put([i, self.bgI]) + if not self.imBackground: + # increment background video frame for next iteration + if self.bgI < len(self.backgroundFrames)-1: + self.bgI += 1 def previewDispatch(self): while not self.stopped: -- cgit v1.2.3