gmyth-stream/tests/client_ffmpeg.py
branchtrunk
changeset 484 27e83a8f68d7
parent 474 07c12d2ceddf
     1.1 --- a/gmyth-stream/tests/client_ffmpeg.py	Sat Mar 31 00:55:28 2007 +0100
     1.2 +++ b/gmyth-stream/tests/client_ffmpeg.py	Tue Apr 03 16:42:04 2007 +0100
     1.3 @@ -29,12 +29,16 @@
     1.4  pin, pout = os.popen2(mplayer)
     1.5  
     1.6  data = socket.recv(1024)
     1.7 +i = 0
     1.8 +
     1.9  while (data != ""):
    1.10      pin.write(data)
    1.11      data = socket.recv(1024)
    1.12 +    if (i == 500):
    1.13 +        socket.send("OK")
    1.14 +    i += 1
    1.15  
    1.16  pin.close()
    1.17 -#pout.close()
    1.18  socket.close()
    1.19  
    1.20