Changed cPatPmtGenerator to make sure the PMT pid doesn't collide with any of the actual pids of the channel

This commit is contained in:
Klaus Schmidinger
2009-01-23 16:44:46 +01:00
parent 1ca753003b
commit 2b174b07bd
5 changed files with 55 additions and 26 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: transfer.c 2.2 2009/01/16 15:16:08 kls Exp $
* $Id: transfer.c 2.3 2009/01/23 16:44:29 kls Exp $
*/
#include "transfer.h"
@@ -14,7 +14,7 @@
cTransfer::cTransfer(tChannelID ChannelID, int VPid, const int *APids, const int *DPids, const int *SPids)
:cReceiver(ChannelID, -1, VPid, APids, Setup.UseDolbyDigital ? DPids : NULL, SPids)
{
patPmtGenerator.GeneratePmt(ChannelID);
patPmtGenerator.SetChannel(Channels.GetByChannelID(ChannelID));
}
cTransfer::~cTransfer()