summaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-02-04 17:46:31 +0100
committerMaZderMind <git@mazdermind.de>2016-02-04 17:46:31 +0100
commit3e4b04b2d1bfd96b7018a2058cbb0a847e012cf7 (patch)
tree53da2041ced4fc463126725d6e66589897eb6576 /voctocore/lib/avpreviewoutput.py
parent140d4651afcdbf72a4b2637acd0c71925816eb82 (diff)
parent54775670b049a338d97b57218d36da00d778b432 (diff)
Merge branch 'nettime'
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index f757e1c..04ff637 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -3,6 +3,7 @@ from gi.repository import Gst
from lib.config import Config
from lib.tcpmulticonnection import TCPMultiConnection
+from lib.clock import Clock
class AVPreviewOutput(TCPMultiConnection):
def __init__(self, channel, port):
@@ -49,6 +50,7 @@ class AVPreviewOutput(TCPMultiConnection):
self.log.debug('Creating Output-Pipeline:\n%s', pipeline)
self.outputPipeline = Gst.parse_launch(pipeline)
+ self.outputPipeline.use_clock(Clock)
self.log.debug('Binding Error & End-of-Stream-Signal on Output-Pipeline')
self.outputPipeline.bus.add_signal_watch()