aboutsummaryrefslogtreecommitdiff
path: root/src/video_thread.py
diff options
context:
space:
mode:
authortassaron2017-07-04 19:52:52 -0400
committertassaron2017-07-04 19:52:52 -0400
commitba0409829de62b745d6f87749572a416061a42b4 (patch)
tree9af0a727e1194432718012110760a5ffc57278fc /src/video_thread.py
parent3a6d7ae421ad2b650cac7f17d43be313787f0e61 (diff)
moved functions into toolkit, fixed CMD appearing on Windows
Diffstat (limited to 'src/video_thread.py')
-rw-r--r--src/video_thread.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_thread.py b/src/video_thread.py
index 9b0bf56..aed4d60 100644
--- a/src/video_thread.py
+++ b/src/video_thread.py
@@ -13,6 +13,7 @@ from copy import copy
import signal
import core
+from toolkit import openPipe
class Worker(QtCore.QObject):
@@ -191,7 +192,7 @@ class Worker(QtCore.QObject):
self.progressBarUpdate.emit(100)
# Create ffmpeg pipe and queues for frames
- self.out_pipe = sp.Popen(
+ self.out_pipe = openPipe(
ffmpegCommand, stdin=sp.PIPE, stdout=sys.stdout, stderr=sys.stdout)
self.compositeQueue = Queue()
self.compositeQueue.maxsize = 20