From: Chris Tallon Date: Sun, 25 Nov 2007 13:43:25 +0000 (+0000) Subject: Streaming update X-Git-Tag: r0-3-0~26 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=0483fd287e8ea0f0488cfe981da098d8161858e2;p=vompserver.git Streaming update --- diff --git a/mvpreceiver.c b/mvpreceiver.c index ae8c01b..3f68ec5 100755 --- a/mvpreceiver.c +++ b/mvpreceiver.c @@ -112,7 +112,7 @@ void MVPReceiver::threadMethod() *(ULONG*)&buffer[4] = htonl(streamID); *(ULONG*)&buffer[8] = htonl(amountReceived); tcp->sendPacket(buffer, amountReceived + 12); - } while(processed.getContent()); + } while(processed.getContent() >= streamChunkSize); } }