aboutsummaryrefslogtreecommitdiff
path: root/src/video_thread.py
diff options
context:
space:
mode:
authortassaron2022-04-22 17:09:50 -0400
committertassaron2022-04-22 17:09:50 -0400
commit05d2ebc3c69f5a876d602004f69202c5ba8b09f7 (patch)
treeea3eeb6f356ed2cb06b536878134dace39b38eb4 /src/video_thread.py
parent2a66c3b77bb8c438a3f278da2d4d90a7ee476feb (diff)
make pip-installable as a package
Diffstat (limited to 'src/video_thread.py')
-rw-r--r--src/video_thread.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_thread.py b/src/video_thread.py
index 0a39f28..31331a3 100644
--- a/src/video_thread.py
+++ b/src/video_thread.py
@@ -19,9 +19,9 @@ import time
import signal
import logging
-from component import ComponentError
-from toolkit.frame import Checkerboard
-from toolkit.ffmpeg import (
+from .component import ComponentError
+from .toolkit.frame import Checkerboard
+from .toolkit.ffmpeg import (
openPipe, readAudioFile,
getAudioDuration, createFfmpegCommand
)
@@ -400,7 +400,7 @@ class Worker(QtCore.QObject):
comp.cancel()
try:
- self.out_pipe.send_signal(signal.SIGINT)
+ self.out_pipe.send_signal(signal.SIGTERM)
except Exception:
pass