aboutsummaryrefslogtreecommitdiff
path: root/video_thread.py
diff options
context:
space:
mode:
authorMaximilian Siess2017-04-18 13:46:24 +0200
committerMaximilian Siess2017-04-18 13:46:24 +0200
commit5d796c76b796d65d1fd08812b6d038ba01bb001e (patch)
treef98c2e0d4689414e25800e7829d1fe7c921b774a /video_thread.py
parentc772bf5583dec23513371392ca6d2018518483cb (diff)
Alignment options added to render task
Diffstat (limited to 'video_thread.py')
-rw-r--r--video_thread.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/video_thread.py b/video_thread.py
index 9f4ce7b..2bd767c 100644
--- a/video_thread.py
+++ b/video_thread.py
@@ -18,14 +18,15 @@ class Worker(QtCore.QObject):
self.core = core.Core()
- @pyqtSlot(str, str, QtGui.QFont, str, str)
- def createVideo(self, backgroundImage, titleText, titleFont, inputFile, outputFile):
+ @pyqtSlot(str, str, QtGui.QFont, str, str, str)
+ def createVideo(self, backgroundImage, titleText, titleFont, alignment, inputFile, outputFile):
# print('worker thread id: {}'.format(QtCore.QThread.currentThreadId()))
imBackground = self.core.drawBaseImage(
backgroundImage,
titleText,
- titleFont)
+ titleFont,
+ alignment)
self.progressBarUpdate.emit(0)