]> git.vomp.tv Git - vompserver.git/commitdiff
Live TV update
authorChris Tallon <chris@vomp.tv>
Sun, 25 Nov 2007 14:47:54 +0000 (14:47 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 25 Nov 2007 14:47:54 +0000 (14:47 +0000)
mvpclient.c

index c2c23b5c6287248e659d295aff29a75672b633a2..21674e9302460c1f03611b426036f4d0ac8e0f6c 100644 (file)
@@ -795,6 +795,12 @@ int MVPClient::processGetChannelPids(UCHAR* data, int length, ResponsePacket* rp
 
 int MVPClient::processStartStreamingChannel(UCHAR* data, int length, ULONG streamID, ResponsePacket* rp)
 {
+  if (lp)
+  {
+    log->log("Client", Log::ERR, "Client called start streaming twice");
+    return 0;
+  }
+  
   log->log("Client", Log::DEBUG, "length = %i", length);
   ULONG channelNumber = ntohl(*(ULONG*)data);