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: recorder.c 2.1 2009/01/06 12:38:01 kls Exp $
* $Id: recorder.c 2.2 2009/01/23 16:44:29 kls Exp $
*/
#include "recorder.h"
@@ -44,7 +44,7 @@ cRecorder::cRecorder(const char *FileName, tChannelID ChannelID, int Priority, i
Type = 0x06;
}
frameDetector = new cFrameDetector(Pid, Type);
patPmtGenerator.GeneratePmt(ChannelID);
patPmtGenerator.SetChannel(Channel);
fileName = NULL;
index = NULL;
fileSize = 0;