Index: vdr-1.6.0-sechand/pat.c =================================================================== --- vdr-1.6.0-sechand/pat.c +++ vdr-1.6.0-sechand/pat.c 2008-05-06 05:08:48.000000000 +0300 @@ -276,6 +276,7 @@ if (Pid == 0x00) { if (Tid == 0x00) { if (pmtPid && time(NULL) - lastPmtScan > PMT_SCAN_TIMEOUT) { + dsyslog("Deleting, pmtPid %d, pmtIndex = %d, lastPmtScan = %lu", pmtPid, pmtIndex, lastPmtScan); Del(pmtPid, 0x02); pmtPid = 0; pmtIndex++; @@ -292,6 +293,7 @@ if (Index++ >= pmtIndex && Channels.GetByServiceID(Source(), Transponder(), assoc.getServiceId())) { pmtPid = assoc.getPid(); pmtSid = assoc.getServiceId(); + dsyslog("Adding, pmtPid %d, Index = %d, Sid = %d", pmtPid, Index, pmtSid); Add(pmtPid, 0x02); break; }