From 4f561f1d5ba5cd3430ffb987eee65105133e793e Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 27 Jan 2016 12:35:07 +0100 Subject: base gui-time on gui-system-clock --- voctogui/lib/clock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'voctogui/lib/clock.py') 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) -- cgit v1.2.3