diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-27 12:35:07 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-02-02 16:05:56 +0100 |
commit | 4f561f1d5ba5cd3430ffb987eee65105133e793e (patch) | |
tree | 7cff658bd3c958d06f9a3d6c100ae516dd036ebd /voctogui/lib/clock.py | |
parent | aa2e12b92df3400e6f9cb89afc16eb968b0c2491 (diff) |
base gui-time on gui-system-clock
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) |