diff options
Diffstat (limited to 'voctogui/lib/clock.py')
-rw-r--r-- | voctogui/lib/clock.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/voctogui/lib/clock.py b/voctogui/lib/clock.py index 8fdbe3d..862c2d5 100644 --- a/voctogui/lib/clock.py +++ b/voctogui/lib/clock.py @@ -12,8 +12,8 @@ log.debug("Obtaining System-Clock") SystemClock = Gst.SystemClock.obtain() def obtainClock(host): - global log, Clock + global log, Clock, SystemClock log.debug('obtaining NetClientClock from host %s', host) - Clock = GstNet.NetClientClock.new('voctocore', host, port, 0) + Clock = GstNet.NetClientClock.new('voctocore', host, port, SystemClock.get_time()) log.info('obtained NetClientClock from host %s: %s', host, Clock) |