From c4aecc8a88208ac88d19fcfbabea952bca661f42 Mon Sep 17 00:00:00 2001 From: fey Date: Fri, 11 Sep 2026 22:50:12 +0200 Subject: [PATCH] Fixed ISDB PID reassignment bug. --- skyscraper8/Isdb/Matenro.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skyscraper8/Isdb/Matenro.cs b/skyscraper8/Isdb/Matenro.cs index abbca17..39a6e70 100644 --- a/skyscraper8/Isdb/Matenro.cs +++ b/skyscraper8/Isdb/Matenro.cs @@ -248,7 +248,7 @@ public class Matenro : IPatEventHandler, ICatEventHandler, IBatEventHandler, IEi if (pidsReferencedByPmt[pmtStream.ElementaryPid]) continue; - pidsReferencedByPmt[sourcePid] = true; + pidsReferencedByPmt[pmtStream.ElementaryPid] = true; StreamType streamType = DetectStreamType(pmtStream); switch (streamType) { @@ -282,10 +282,12 @@ public class Matenro : IPatEventHandler, ICatEventHandler, IBatEventHandler, IEi case 0x0008: //STD-B24 //Sub-clause 9.6.1, Part 3, Vol. 1 + logger.DebugFormat("PID 0x{0:X4} is ISDB Teletext",pmtStream.ElementaryPid); return StreamType.IsdbTeletext; case 0x0012: //Sub-clause 9.6.1, Part 3, Vol. 1 //content descriptor = Sub-clause 9.6.2, Part 3, Vol. 1 + logger.DebugFormat("PID 0x{0:X4} is ISDB Subtitle",pmtStream.ElementaryPid); return StreamType.IsdbSubtitles; default: throw new IsdbException(String.Format("Unknown ISDB Data Component 0x{0:X4}", pmtStream.DataComponent.DataComponentId));