diff options
Diffstat (limited to 'Demo/sgi/video/Vsend.py')
-rwxr-xr-x | Demo/sgi/video/Vsend.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Demo/sgi/video/Vsend.py b/Demo/sgi/video/Vsend.py index 543cd86..54554c2 100755 --- a/Demo/sgi/video/Vsend.py +++ b/Demo/sgi/video/Vsend.py @@ -118,10 +118,8 @@ def main(): w, h = gl.getsize() x, y = gl.getorigin() if (w, h) <> (width, height): - lvi.close() width, height = w, h - lvi = LiveVideoIn.LiveVideoIn() \ - .init(pktmax, width, height) + lvi.resizevideo(width, height) lvo.resizevideo(width, height) rv = lvi.getnextpacket() |