Skip to content

Commit c621065

Browse files
Bugfix - incorrect arguments for WallClockServer class
1 parent 13cd4ae commit c621065

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dvbcss/protocol/server/wc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class WallClockServerHandler(object):
164164
165165
"""
166166

167-
def __init__(self, wallClock, precisionSecs, maxFreqErrorPpm, followup=False, **kwargs):
167+
def __init__(self, wallClock, precisionSecs=None, maxFreqErrorPpm=None, followup=False, **kwargs):
168168
"""\
169169
170170
:param dvbcss.clock.ClockBase wallClock: The clock to be used as the wall clock for protocol interactions

examples/TSServer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def ts(self):
190190
tsServer.attachTimelineSource(slowTemiTimeline)
191191

192192
# also start a wallclock server
193-
wc_server=WallClockServer(wallClock, args.wc_addr, args.wc_port, followup=False)
193+
wc_server=WallClockServer(wallClock, None, None, args.wc_addr, args.wc_port, followup=False)
194194
wc_server.start()
195195

196196
# now we will loop, periodically making the "sporadic" timeline available and unavailable

examples/TVDevice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
cherrypy.config.update({"server.socket_port":args.ws_port})
113113
cherrypy.config.update({"engine.autoreload.on":False})
114114

115-
wcServer = WallClockServer(wallClock, bindaddr=args.wc_addr, bindport=args.wc_port)
115+
wcServer = WallClockServer(wallClock, None, None, bindaddr=args.wc_addr, bindport=args.wc_port)
116116

117117
ciiServer = CIIServer(maxConnectionsAllowed=5, enabled=True)
118118
tsServer = TSServer(CONTENT_ID, wallClock, maxConnectionsAllowed=10, enabled=True)

examples/WallClockServer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
print "----"
6868

6969
clock=SysClock(maxFreqErrorPpm=args.maxFreqError)
70-
wc_server=WallClockServer(clock, args.wc_addr, args.wc_port, followup=args.followup)
70+
wc_server=WallClockServer(clock, None, None, args.wc_addr, args.wc_port, followup=args.followup)
7171
wc_server.start()
7272

7373
while True:

0 commit comments

Comments
 (0)