Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...
diff --git a/Demo/sgi/video/Dsend.py b/Demo/sgi/video/Dsend.py
index 3213caa..c4ed842 100755
--- a/Demo/sgi/video/Dsend.py
+++ b/Demo/sgi/video/Dsend.py
@@ -119,10 +119,9 @@
gl.qdevice(DEVICE.WINTHAW)
width, height = gl.getsize()
- lvo = LiveVideoOut.LiveVideoOut().init(wid, width, height, vtype)
+ lvo = LiveVideoOut.LiveVideoOut(wid, width, height, vtype)
- lvi = DisplayVideoIn.DisplayVideoIn().init(pktmax, \
- width, height, vtype)
+ lvi = DisplayVideoIn.DisplayVideoIn(pktmax, width, height, vtype)
if xpos or ypos:
lvi.positionvideo(xpos, ypos)