Skip to content

Commit

Permalink
do not interrupt the stream on network packet timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
pipelka committed Aug 23, 2011
1 parent 5c080dd commit 5fbe5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xvdr/XVDRDemux.cpp
Expand Up @@ -86,12 +86,12 @@ DemuxPacket* cXVDRDemux::Read()
cResponsePacket *resp = ReadMessage();

if(resp == NULL)
return NULL;
return PVR->AllocateDemuxPacket(0);

if (resp->getChannelID() != XVDR_CHANNEL_STREAM)
{
delete resp;
return NULL;
return PVR->AllocateDemuxPacket(0);
}

if (resp->getOpCodeID() == XVDR_STREAM_CHANGE)
Expand Down

0 comments on commit 5fbe5fd

Please sign in to comment.