diff options
| author | tassaron | 2022-05-02 18:27:26 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-02 18:27:26 -0400 |
| commit | c13d8a3e8a23dcedfcd3d7cea800e7c29aa47e80 (patch) | |
| tree | 605c2cb90ff26ea99d032391c91d70385e4984ff | |
| parent | 4c5aa37aa6f41d909153a2b7d522db6d7582659a (diff) | |
log QThread IDs
| -rw-r--r-- | src/gui/preview_thread.py | 1 | ||||
| -rw-r--r-- | src/video_thread.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/preview_thread.py b/src/gui/preview_thread.py index 137864b..8ec5d28 100644 --- a/src/gui/preview_thread.py +++ b/src/gui/preview_thread.py @@ -38,6 +38,7 @@ class Worker(QtCore.QObject): "components": components, } self.queue.put(dic) + log.debug('Preview thread id: {}'.format(int(QtCore.QThread.currentThreadId()))) @pyqtSlot() def process(self): diff --git a/src/video_thread.py b/src/video_thread.py index 5a28beb..0472aa3 100644 --- a/src/video_thread.py +++ b/src/video_thread.py @@ -133,6 +133,8 @@ class Worker(QtCore.QObject): @pyqtSlot() def createVideo(self): log.debug("Video worker received signal to createVideo") + log.debug( + 'Video thread id: {}'.format(int(QtCore.QThread.currentThreadId()))) numpy.seterr(divide='ignore') self.encoding.emit(True) self.extraAudio = [] |
