diff options
author | MaZderMind <git@mazdermind.de> | 2016-02-04 17:46:31 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-02-04 17:46:31 +0100 |
commit | 3e4b04b2d1bfd96b7018a2058cbb0a847e012cf7 (patch) | |
tree | 53da2041ced4fc463126725d6e66589897eb6576 /voctocore/lib/avsource.py | |
parent | 140d4651afcdbf72a4b2637acd0c71925816eb82 (diff) | |
parent | 54775670b049a338d97b57218d36da00d778b432 (diff) |
Merge branch 'nettime'
Diffstat (limited to 'voctocore/lib/avsource.py')
-rw-r--r-- | voctocore/lib/avsource.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/voctocore/lib/avsource.py b/voctocore/lib/avsource.py index c9f4dea..f814c45 100644 --- a/voctocore/lib/avsource.py +++ b/voctocore/lib/avsource.py @@ -3,6 +3,7 @@ from gi.repository import Gst from lib.config import Config from lib.tcpsingleconnection import TCPSingleConnection +from lib.clock import Clock class AVSource(TCPSingleConnection): def __init__(self, name, port, outputs=None, has_audio=True, has_video=True): @@ -64,6 +65,7 @@ class AVSource(TCPSingleConnection): self.log.debug('Launching Source-Pipeline:\n%s', pipeline) self.receiverPipeline = Gst.parse_launch(pipeline) + self.receiverPipeline.use_clock(Clock) self.log.debug('Binding End-of-Stream-Signal on Source-Pipeline') self.receiverPipeline.bus.add_signal_watch() |