diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-27 12:11:28 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-02-02 16:05:56 +0100 |
commit | 5e301fd1a88acf698f1918ddf8ea5981d12ac811 (patch) | |
tree | 614bdc278ef0be0bdf893003a5a91be3f77776fb /voctocore/lib/avpreviewoutput.py | |
parent | 63767175114636a838e0fc0d31ce0251929e45f8 (diff) |
force all pipelines to the same clock and expose it to the network, #46
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r-- | voctocore/lib/avpreviewoutput.py | 2 |
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() |